mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-14 04:27:57 -05:00
selection: explicitly reject *all* dnd offers not targeting the grid
This commit is contained in:
parent
2e4da6fbf6
commit
0d22e9fa01
1 changed files with 1 additions and 0 deletions
|
|
@ -2343,6 +2343,7 @@ enter(void *data, struct wl_data_device *wl_data_device, uint32_t serial,
|
||||||
/* Either terminal is already busy sending paste data, or mouse
|
/* Either terminal is already busy sending paste data, or mouse
|
||||||
* pointer isn’t over the grid */
|
* pointer isn’t over the grid */
|
||||||
seat->clipboard.window = NULL;
|
seat->clipboard.window = NULL;
|
||||||
|
wl_data_offer_accept(offer, serial, NULL);
|
||||||
wl_data_offer_set_actions(offer, 0, 0);
|
wl_data_offer_set_actions(offer, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue