mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-04 13:29:51 -05:00
data-device: notify the compositor about new drag icons
Let the compositor use a listener to be notified when a new drag icon is set up.
This commit is contained in:
parent
83685c506e
commit
897a4ec62d
3 changed files with 8 additions and 0 deletions
|
|
@ -533,6 +533,8 @@ wl_input_device_init(struct wl_input_device *device)
|
|||
device->selection_data_source = NULL;
|
||||
wl_list_init(&device->selection_listener_list);
|
||||
|
||||
wl_list_init(&device->drag_icon_listener_list);
|
||||
|
||||
device->x = 100;
|
||||
device->y = 100;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue