diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-06-20 18:57:23 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-06-20 18:57:23 +0000 |
| commit | 0d22e9fa01a8149af453ebe57b5e4ef67f00a4d9 (patch) | |
| tree | b13e98102f628f3cc47df9c47fb4eb3dcbbd1baa | |
| parent | selection: ignore drag-and-drops with unsupported mime-types (diff) | |
selection: explicitly reject *all* dnd offers not targeting the grid
| -rw-r--r-- | selection.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/selection.c b/selection.c index 20e2d8d8..63170b98 100644 --- a/selection.c +++ b/selection.c @@ -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); } |
