mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-04-27 20:20:04 +00:00
xwayland/selection/dnd: always send finished event
Signed-off-by: xurui <xurui@kylinos.cn>
This commit is contained in:
parent
221bc5f6aa
commit
db2c907f93
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user