mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -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
|
||||
* pointer isn’t over the grid */
|
||||
seat->clipboard.window = NULL;
|
||||
wl_data_offer_accept(offer, serial, NULL);
|
||||
wl_data_offer_set_actions(offer, 0, 0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue