xwayland: listen for wlr_drag destroy

This commit is contained in:
emersion 2018-05-19 17:12:01 +01:00
parent 6ad84242df
commit 12a37d666c
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 36 additions and 32 deletions

View file

@ -117,6 +117,7 @@ struct wlr_xwm {
struct wl_list unpaired_surfaces; // wlr_xwayland_surface::unpaired_link
struct wlr_drag *incoming_drag;
struct wlr_drag *drag;
struct wlr_xwayland_surface *drag_focus;
@ -135,6 +136,7 @@ struct wlr_xwm {
struct wl_listener seat_drag_drop;
struct wl_listener seat_drag_destroy;
struct wl_listener seat_drag_source_destroy;
struct wl_listener incoming_drag_destroy;
};
struct wlr_xwm *xwm_create(struct wlr_xwayland *wlr_xwayland);