diff --git a/xwayland/selection/dnd.c b/xwayland/selection/dnd.c index cdbcd1e9c..70792b5f4 100644 --- a/xwayland/selection/dnd.c +++ b/xwayland/selection/dnd.c @@ -222,10 +222,7 @@ int xwm_handle_selection_client_message(struct wlr_xwm *xwm, enum wl_data_device_manager_dnd_action action = data_device_manager_dnd_action_from_atom(xwm, action_atom); - if (performed) { - wlr_data_source_dnd_finish(source); - } - + wlr_data_source_dnd_finish(source); wlr_log(WLR_DEBUG, "DND_FINISH window=%" PRIu32 " performed=%d action=%d", target_window, performed, action); return 1;