xwm: Don't select for STRUCTURE_NOTIFY or RESIZE_REDIRECT

We get all that information through SUBSTRUCTURE_NOTIFY on the parent
windows.
This commit is contained in:
Kristian Høgsberg 2012-05-30 10:02:58 -04:00
parent bc6e1622b0
commit f94a031b84

View File

@ -474,8 +474,6 @@ weston_wm_handle_map_request(struct weston_wm *wm, xcb_generic_event_t *event)
XCB_EVENT_MASK_BUTTON_PRESS |
XCB_EVENT_MASK_BUTTON_RELEASE |
XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY |
XCB_EVENT_MASK_STRUCTURE_NOTIFY |
XCB_EVENT_MASK_RESIZE_REDIRECT |
XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT |
XCB_EVENT_MASK_EXPOSURE;
@ -1096,8 +1094,6 @@ weston_wm_create(struct weston_xserver *wxs)
wxs_wm_get_resources(wm);
values[0] =
XCB_EVENT_MASK_STRUCTURE_NOTIFY |
XCB_EVENT_MASK_RESIZE_REDIRECT |
XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY |
XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT |
XCB_EVENT_MASK_PROPERTY_CHANGE;