x: remove XCB_EVENT_MASK_ENTER_WINDOW from child event mask, already handled in parent
This prevents unwanted EnterNotifys when switching cons in a stacked con with an h-split as second child in the stacked con.
This commit is contained in:
parent
b0b195318c
commit
1585c36ab2
@ -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 */ \
|
||||
|
Loading…
Reference in New Issue
Block a user