mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
1
This commit is contained in:
@@ -242,8 +242,13 @@ xnest_handle_event(xcb_generic_event_t *event)
|
||||
break;
|
||||
}
|
||||
|
||||
case CirculateNotify:
|
||||
case ConfigureNotify:
|
||||
{
|
||||
fprintf(stderr, "ConfigureNotify\n");
|
||||
break;
|
||||
}
|
||||
|
||||
case CirculateNotify:
|
||||
case GravityNotify:
|
||||
case MapNotify:
|
||||
case ReparentNotify:
|
||||
|
||||
@@ -166,7 +166,7 @@ xnestCreateWindow(WindowPtr pWin)
|
||||
/* special handling for toplevel windows in rootless mode */
|
||||
if (xnestRootless && pWin->parent && !pWin->parent->parent) {
|
||||
fprintf(stderr, "created toplevel window: catching input events\n");
|
||||
uint32_t event_mask = XNEST_KEYBOARD_EVENT_MASK | XNEST_POINTER_EVENT_MASK;
|
||||
uint32_t event_mask = XNEST_KEYBOARD_EVENT_MASK | XNEST_POINTER_EVENT_MASK | XCB_EVENT_MASK_STRUCTURE_NOTIFY;
|
||||
xcb_change_window_attributes(xnestUpstreamInfo.conn,
|
||||
xnestWindow(pWin),
|
||||
XCB_CW_EVENT_MASK,
|
||||
|
||||
Reference in New Issue
Block a user