mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
selection: it's an error to call offset_accept() on non-drag-and-drop
This commit is contained in:
parent
3f02a7354e
commit
e8b6705ab8
1 changed files with 0 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue