diff options
-rw-r--r-- | src/xwayland/window-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c index 3808335..a81d03b 100644 --- a/src/xwayland/window-manager.c +++ b/src/xwayland/window-manager.c @@ -857,7 +857,7 @@ weston_wm_handle_event(int fd, uint32_t mask, void *data) continue; } - switch (event->response_type & ~0x80) { + switch (event->response_type) { case XCB_BUTTON_PRESS: case XCB_BUTTON_RELEASE: weston_wm_handle_button(wm, event); |