From 0d22e9fa01a8149af453ebe57b5e4ef67f00a4d9 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 20 Jun 2022 20:57:23 +0200 Subject: selection: explicitly reject *all* dnd offers not targeting the grid --- selection.c | 1 + 1 file changed, 1 insertion(+) (limited to 'selection.c') 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); } -- cgit v1.3