From e7cd824c0739c71bef2ec02b56037fecddc6f334 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sun, 10 Oct 2010 15:10:04 +0200 Subject: [PATCH] Ignore changes to the root pixmap We no longer use the root pixmap at all, so we can ignore changes to it. Signed-off-by: Uli Schlachter --- awesome.c | 1 - property.c | 16 ---------------- 2 files changed, 17 deletions(-) diff --git a/awesome.c b/awesome.c index c65451ba4..fca0a7017 100644 --- a/awesome.c +++ b/awesome.c @@ -541,7 +541,6 @@ main(int argc, char **argv) XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT | XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY | XCB_EVENT_MASK_ENTER_WINDOW | XCB_EVENT_MASK_LEAVE_WINDOW | XCB_EVENT_MASK_STRUCTURE_NOTIFY - | XCB_EVENT_MASK_PROPERTY_CHANGE | XCB_EVENT_MASK_BUTTON_PRESS | XCB_EVENT_MASK_BUTTON_RELEASE | XCB_EVENT_MASK_FOCUS_CHANGE diff --git a/property.c b/property.c index 4cf122849..091c4a959 100644 --- a/property.c +++ b/property.c @@ -328,19 +328,6 @@ property_handle_xembed_info(uint8_t state, return 0; } -static int -property_handle_xrootpmap_id(uint8_t state, - xcb_window_t window) -{ -#warning -#if 0 - foreach(w, globalconf.drawins) - (*w)->need_update = true; -#endif - - return 0; -} - static int property_handle_net_wm_opacity(uint8_t state, xcb_window_t window) @@ -412,9 +399,6 @@ property_handle_propertynotify(xcb_property_notify_event_t *ev) HANDLE(_NET_WM_PID, property_handle_net_wm_pid) HANDLE(_NET_WM_WINDOW_OPACITY, property_handle_net_wm_opacity) - /* background change */ - HANDLE(_XROOTPMAP_ID, property_handle_xrootpmap_id) - /* If nothing was found, return */ END;