From eff871eb46d1b0b7578f8fd9f5e31c932437cb3b Mon Sep 17 00:00:00 2001 From: Jasmine Hassan Date: Mon, 3 Dec 2012 06:24:47 +0200 Subject: [background] fix XGetWindowProperty long_length & nitems_return params from 24 -> 20, to account for 'nautilus' -> 'caja' change (4 bytes less). --- plugins/background/msd-background-manager.c | 4 ++-- 1 file 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 && -- cgit v1.2.1