diff options
author | Jasmine Hassan <[email protected]> | 2012-12-03 06:24:47 +0200 |
---|---|---|
committer | Jasmine Hassan <[email protected]> | 2012-12-03 06:24:47 +0200 |
commit | eff871eb46d1b0b7578f8fd9f5e31c932437cb3b (patch) | |
tree | c92f1b88a86487abed65974131eaa15735d94990 /plugins/background | |
parent | 75003d6304a61488a1737733c423fd120e4bbb48 (diff) | |
download | mate-settings-daemon-eff871eb46d1b0b7578f8fd9f5e31c932437cb3b.tar.bz2 mate-settings-daemon-eff871eb46d1b0b7578f8fd9f5e31c932437cb3b.tar.xz |
[background] fix XGetWindowProperty long_length & nitems_return params
from 24 -> 20, to account for 'nautilus' -> 'caja' change (4 bytes less).
Diffstat (limited to 'plugins/background')
-rw-r--r-- | plugins/background/msd-background-manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/background/msd-background-manager.c b/plugins/background/msd-background-manager.c index b347c53..033f8a3 100644 --- a/plugins/background/msd-background-manager.c +++ b/plugins/background/msd-background-manager.c @@ -165,7 +165,7 @@ caja_is_drawing_background (MsdBackgroundManager *manager) caja_xid, wmclass_atom, 0, - 24, + 20, False, XA_STRING, &actual_type, @@ -182,7 +182,7 @@ caja_is_drawing_background (MsdBackgroundManager *manager) } if (actual_type == XA_STRING && - nitems == 24 && + nitems == 20 && bytes_after == 0 && actual_format == 8 && data != NULL && |