aboutsummaryrefslogtreecommitdiff
path: root/xwayland/xwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'xwayland/xwm.c')
-rw-r--r--xwayland/xwm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c
index db4a8c0f..2c437e83 100644
--- a/xwayland/xwm.c
+++ b/xwayland/xwm.c
@@ -1644,7 +1644,8 @@ static int x11_event_handler(int fd, uint32_t mask, void *data) {
if (xwm->xwayland->user_event_handler &&
xwm->xwayland->user_event_handler(xwm, event)) {
- break;
+ free(event);
+ continue;
}
if (xwm_handle_selection_event(xwm, event)) {