mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-04 13:29:51 -05:00
data-device: Emit selection_signal also when we lose the selection
This commit is contained in:
parent
8f63e8013b
commit
0527ad8f00
1 changed files with 2 additions and 0 deletions
|
|
@ -359,6 +359,8 @@ destroy_selection_data_source(struct wl_listener *listener, void *data)
|
|||
if (data_device)
|
||||
wl_data_device_send_selection(data_device, NULL);
|
||||
}
|
||||
|
||||
wl_signal_emit(&seat->selection_signal, seat);
|
||||
}
|
||||
|
||||
WL_EXPORT void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue