unnecessary updates when screenlets are unmapped
Bug #211525 reported by
criser
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Screenlets |
Fix Released
|
Undecided
|
Unassigned | ||
screenlets (Ubuntu) |
Fix Released
|
Low
|
Kjell Braden |
Bug Description
when screenlets are used in conjunction with compiz's 'widget mode' they are only mapped and visible when compiz is in widget mode
so it is unnecessary and produces higher power consumption on machines that rely on battery to update the screenlets data
the patch included adds two new callback functions to a screenlet to notify them of map and unmap events so that each individual screenlet can disable/enable any polling in the corresponding functions
I already updated the SysmonitorScreenlet and the ClearCalendarSc
Changed in screenlets: | |
status: | New → Fix Released |
To post a comment you must log in.
Looks good to me. Will prepare a debdiff with this and other fixes in the next few days as ubuntu will freeze next week.