diff --git a/hw/xnest/Events.c b/hw/xnest/Events.c index 024cb6ec99..b22cdf6c0d 100644 --- a/hw/xnest/Events.c +++ b/hw/xnest/Events.c @@ -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: diff --git a/hw/xnest/Window.c b/hw/xnest/Window.c index 1897de02b8..0e9821154e 100644 --- a/hw/xnest/Window.c +++ b/hw/xnest/Window.c @@ -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,