xwm: Don't select for STRUCTURE_NOTIFY or RESIZE_REDIRECT

We get all that information through SUBSTRUCTURE_NOTIFY on the parent
windows.
dev
Kristian Høgsberg 13 years ago
parent bc6e1622b0
commit f94a031b84
  1. 4
      src/xwayland/window-manager.c

@ -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_PRESS |
XCB_EVENT_MASK_BUTTON_RELEASE | XCB_EVENT_MASK_BUTTON_RELEASE |
XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY | XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY |
XCB_EVENT_MASK_STRUCTURE_NOTIFY |
XCB_EVENT_MASK_RESIZE_REDIRECT |
XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT | XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT |
XCB_EVENT_MASK_EXPOSURE; XCB_EVENT_MASK_EXPOSURE;
@ -1096,8 +1094,6 @@ weston_wm_create(struct weston_xserver *wxs)
wxs_wm_get_resources(wm); wxs_wm_get_resources(wm);
values[0] = values[0] =
XCB_EVENT_MASK_STRUCTURE_NOTIFY |
XCB_EVENT_MASK_RESIZE_REDIRECT |
XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY | XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY |
XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT | XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT |
XCB_EVENT_MASK_PROPERTY_CHANGE; XCB_EVENT_MASK_PROPERTY_CHANGE;

Loading…
Cancel
Save