mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-03-06 01:41:07 -05:00
Move data device implementation into wayland-server
This commit is contained in:
parent
dbb3ba7269
commit
b6b3d07c83
4 changed files with 511 additions and 0 deletions
|
|
@ -477,6 +477,10 @@ wl_input_device_init(struct wl_input_device *device)
|
|||
device->default_grab.input_device = device;
|
||||
device->grab = &device->default_grab;
|
||||
|
||||
wl_list_init(&device->drag_resource_list);
|
||||
device->selection_data_source = NULL;
|
||||
wl_list_init(&device->selection_listener_list);
|
||||
|
||||
device->x = 100;
|
||||
device->y = 100;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue