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 <psychon@znc.in>
This commit is contained in:
parent
b9c427d48f
commit
e7cd824c07
|
@ -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
|
||||
|
|
16
property.c
16
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue