diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-01-03 20:01:07 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-01-03 20:01:07 +0000 |
| commit | c6e46bbfac8d71ad4b5f632bfd00bdc4599b9483 (patch) | |
| tree | 131088f113da5d2eb3e2d2c99acfce2004ad3fb5 /selection.c | |
| parent | term: init: don't resize if compositor has already resized us (diff) | |
selection: remove unneeded wayland display roundtrips
Diffstat (limited to 'selection.c')
| -rw-r--r-- | selection.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/selection.c b/selection.c index 91043921..2da2ba03 100644 --- a/selection.c +++ b/selection.c @@ -663,7 +663,6 @@ text_from_clipboard(struct terminal *term, uint32_t serial, /* Give write-end of pipe to other client */ wl_data_offer_receive( clipboard->data_offer, "text/plain;charset=utf-8", write_fd); - wl_display_roundtrip(term->wl->display); /* Don't keep our copy of the write-end open (or we'll never get EOF) */ close(write_fd); @@ -783,7 +782,6 @@ text_from_primary( /* Give write-end of pipe to other client */ zwp_primary_selection_offer_v1_receive( primary->data_offer, "text/plain;charset=utf-8", write_fd); - wl_display_roundtrip(term->wl->display); /* Don't keep our copy of the write-end open (or we'll never get EOF) */ close(write_fd); |
