This commit is contained in:
Enrico Weigelt, metux IT consult 2024-09-06 09:49:39 +02:00
parent ec50b25d0b
commit 104478000f
2 changed files with 7 additions and 2 deletions

View File

@ -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:

View File

@ -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,