mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
xwayland: listen to drag focus destroy signal
The wlr_drag takes care of resetting the focused wlr_surface when it's destroyed, however we store the wlr_xwayland_surface, which may be destroyed before.
This commit is contained in:
parent
9649fbe443
commit
c7acfe906b
3 changed files with 40 additions and 15 deletions
|
|
@ -149,6 +149,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 drag_focus_destroy;
|
||||
};
|
||||
|
||||
struct wlr_xwm *xwm_create(struct wlr_xwayland *wlr_xwayland, int wm_fd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue