mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-28 05:40:11 -04:00
xwayland/selection/dnd: always send finished event
Signed-off-by: xurui <xurui@kylinos.cn>
This commit is contained in:
parent
221bc5f6aa
commit
db2c907f93
1 changed files with 1 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue