bugfix: dnd force cancel

This commit is contained in:
Tony Crisci 2017-11-01 08:05:02 -04:00
parent e903a69698
commit 1a756b3123
6 changed files with 40 additions and 15 deletions

View file

@ -68,6 +68,7 @@ struct roots_input_event {
struct roots_drag_icon {
struct wlr_surface *surface;
struct wl_list link; // roots_input::drag_icons
bool mapped;
int32_t sx;
int32_t sy;

View file

@ -61,6 +61,8 @@ struct wlr_drag {
struct wlr_surface *focus;
struct wlr_data_source *source;
bool cancelling;
struct wl_listener icon_destroy;
struct wl_listener source_destroy;
struct wl_listener seat_client_unbound;