diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-11 14:26:53 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-11 15:38:03 +0000 |
| commit | e8b6705ab8074df5ea1587e3d1465a65d084597a (patch) | |
| tree | 76dafb41896ca8a6a46410b25c5026988eac6212 /selection.c | |
| parent | selection: handle partial writes and EINTR when writing to clipboard (diff) | |
selection: it's an error to call offset_accept() on non-drag-and-drop
Diffstat (limited to 'selection.c')
| -rw-r--r-- | selection.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/selection.c b/selection.c index 50c7cc6b..9560126d 100644 --- a/selection.c +++ b/selection.c @@ -279,9 +279,6 @@ selection_from_clipboard(struct terminal *term, uint32_t serial) if (clipboard->data_offer == NULL) return; - wl_data_offer_accept(clipboard->data_offer, serial, "text/plain"); - wl_data_offer_accept(clipboard->data_offer, serial, "text/plain;charset=utf-8"); - int fds[2]; if (pipe2(fds, O_CLOEXEC) == -1) { |
