summaryrefslogtreecommitdiff
path: root/plugins/xrdb/data/Editres.ad
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-12-08 01:17:08 +0200
committerJasmine Hassan <[email protected]>2012-12-13 23:29:04 +0200
commitc12ffd128cbe0d90443edf85025a421ab2c027fb (patch)
tree0eaa964ccad0d88d322f341c4e84e3be23b81122 /plugins/xrdb/data/Editres.ad
parentc257c330af9a2222442ea35eb6479008db80513b (diff)
downloadmate-settings-daemon-c12ffd128cbe0d90443edf85025a421ab2c027fb.tar.bz2
mate-settings-daemon-c12ffd128cbe0d90443edf85025a421ab2c027fb.tar.xz
[background] cleanup and refactor, fix several issues
Namely: 1. In caja_is_drawing..(), only get atom for WM_CLASS property if it exists. 2. Cache gsettings draw-background & show-desktop-icons key-values, and only update when either actually changes, to avoid unnecessary queries to the dconf-service. 3. Avoid conflicts between settings_change_event_cb() & on_bg_handling_changed(). 4. Keep track of screen sizes, to ensure size actually changed when signalled, to avoid double-redraw on an extraneous signal, which can lockup the daemon, because we draw immediately (w/out g_idle_add). Though we don't fade in re-draws triggered by size/monitors-changed signals, making all re-draws queued causes issues with fading, when we do fade (on bg change), and queueing is unnecessary here anyway. 5. Track a redraw in progress, to avoid any possible (and unforseeable) clashes.
Diffstat (limited to 'plugins/xrdb/data/Editres.ad')
0 files changed, 0 insertions, 0 deletions