implement basic drag and drop

This commit is contained in:
ARDiDo 2021-10-03 13:33:38 -04:00 committed by Johan Malm
parent 23f28e5082
commit 6bf3bb97f5
3 changed files with 70 additions and 1 deletions

View file

@ -61,6 +61,7 @@ struct seat {
struct wlr_keyboard_group *keyboard_group;
struct wlr_cursor *cursor;
struct wlr_xcursor_manager *xcursor_manager;
struct wlr_drag_icon *drag_icon;
/* if set, views cannot receive focus */
struct wlr_layer_surface_v1 *focused_layer;
@ -81,6 +82,10 @@ struct seat {
struct wl_listener keyboard_key;
struct wl_listener keyboard_modifiers;
struct wl_listener request_start_drag;
struct wl_listener start_drag;
struct wl_listener destroy_drag;
};
struct server {