From 4253f2357686e7bb2d44fd9259ea21306060a6a6 Mon Sep 17 00:00:00 2001 From: Greg V Date: Thu, 8 Nov 2018 00:24:15 +0300 Subject: [PATCH] xwayland: fix clipboard related crash --- xwayland/selection.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xwayland/selection.c b/xwayland/selection.c index e0eb3ffc..bc7318af 100644 --- a/xwayland/selection.c +++ b/xwayland/selection.c @@ -408,6 +408,7 @@ weston_wm_read_data_source(int fd, uint32_t mask, void *data) wm->property_source = NULL; close(fd); wl_array_release(&wm->source_data); + return 1; } weston_log("read %d (available %d, mask 0x%x) bytes: \"%.*s\"\n",