aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--selection.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/selection.c b/selection.c
index c62bdb2b..d4887382 100644
--- a/selection.c
+++ b/selection.c
@@ -2348,7 +2348,10 @@ reject_offer:
* 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);
+ wl_data_offer_set_actions(
+ offer,
+ WL_DATA_DEVICE_MANAGER_DND_ACTION_NONE,
+ WL_DATA_DEVICE_MANAGER_DND_ACTION_NONE);
}
static void