]> git.sur5r.net Git - i3/i3/commitdiff
x: remove XCB_EVENT_MASK_ENTER_WINDOW from child event mask, already handled in parent
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 6 Mar 2011 20:49:53 +0000 (21:49 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 6 Mar 2011 20:49:53 +0000 (21:49 +0100)
This prevents unwanted EnterNotifys when switching cons in a stacked con with
an h-split as second child in the stacked con.

include/xcb.h

index 4b01d9005c96a1d20fce708ac5219d88996c3a7f..1dc141e642e72c41a5876344f4dc7d16617b2e63 100644 (file)
@@ -32,8 +32,7 @@
    while rendering the layout) */
 /** The XCB_CW_EVENT_MASK for the child (= real window) */
 #define CHILD_EVENT_MASK (XCB_EVENT_MASK_PROPERTY_CHANGE | \
-                          XCB_EVENT_MASK_STRUCTURE_NOTIFY | \
-                          XCB_EVENT_MASK_ENTER_WINDOW)
+                          XCB_EVENT_MASK_STRUCTURE_NOTIFY)
 
 /** The XCB_CW_EVENT_MASK for its frame */
 #define FRAME_EVENT_MASK (XCB_EVENT_MASK_BUTTON_PRESS |          /* â€¦mouse is pressed/released */ \