From e8b6705ab8074df5ea1587e3d1465a65d084597a Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 11 Jul 2019 16:26:53 +0200 Subject: selection: it's an error to call offset_accept() on non-drag-and-drop --- selection.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'selection.c') 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) { -- cgit v1.3