|
|
|
@ -12,7 +12,7 @@
|
|
|
|
|
#include "wlr/types/wlr_surface.h"
|
|
|
|
|
#include "wlr/xwayland.h"
|
|
|
|
|
#include "wlr/xcursor.h"
|
|
|
|
|
#include "xwm.h"
|
|
|
|
|
#include "wlr/xwm.h"
|
|
|
|
|
|
|
|
|
|
#ifdef HAS_XCB_ICCCM
|
|
|
|
|
#include <xcb/xcb_icccm.h>
|
|
|
|
@ -938,6 +938,12 @@ static int x11_event_handler(int fd, uint32_t mask, void *data) {
|
|
|
|
|
|
|
|
|
|
while ((event = xcb_poll_for_event(xwm->xcb_conn))) {
|
|
|
|
|
count++;
|
|
|
|
|
|
|
|
|
|
if (xwm->xwayland->user_event_handler &&
|
|
|
|
|
xwm->xwayland->user_event_handler(xwm, event)) {
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
switch (event->response_type & XCB_EVENT_RESPONSE_TYPE_MASK) {
|
|
|
|
|
case XCB_CREATE_NOTIFY:
|
|
|
|
|
xwm_handle_create_notify(xwm, (xcb_create_notify_event_t *)event);
|
|
|
|
|