summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-05-30 10:02:58 -0400
committerKristian Høgsberg <krh@bitplanet.net>2012-05-30 10:02:58 -0400
commitf94a031b8405066059e797d5bf4281632e2a175c (patch)
tree62aa72dd27e509f7c8a6299922198d6ca26331f9 /src
parentbc6e1622b048ae47ea0fe9d3edcf5f77ba7cebe2 (diff)
xwm: Don't select for STRUCTURE_NOTIFY or RESIZE_REDIRECT
We get all that information through SUBSTRUCTURE_NOTIFY on the parent windows.
Diffstat (limited to 'src')
-rw-r--r--src/xwayland/window-manager.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c
index a2a12bd..a0b3200 100644
--- a/src/xwayland/window-manager.c
+++ b/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_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;