summaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authorGreg V <greg@unrelenting.technology>2018-11-08 00:24:15 +0300
committerDaniel Stone <daniels@collabora.com>2019-02-16 09:37:30 +0000
commit4253f2357686e7bb2d44fd9259ea21306060a6a6 (patch)
tree108b473ee76b839626680e6e7319f66457a15a70 /xwayland
parentb68847a8bc8f73e5518285d927e7426005eeaaad (diff)
downloadweston-4253f2357686e7bb2d44fd9259ea21306060a6a6.tar.gz
xwayland: fix clipboard related crash
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/selection.c1
1 files changed, 1 insertions, 0 deletions
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",