mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-26 06:59:52 -05: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.
(cherry picked from commit c7acfe906b)
This commit is contained in:
parent
74be9ddaab
commit
885bf8f5e8
3 changed files with 40 additions and 15 deletions
|
|
@ -2176,6 +2176,7 @@ struct wlr_xwm *xwm_create(struct wlr_xwayland *xwayland, int wm_fd) {
|
|||
wl_list_init(&xwm->unpaired_surfaces);
|
||||
wl_list_init(&xwm->pending_startup_ids);
|
||||
wl_list_init(&xwm->seat_drag_source_destroy.link);
|
||||
wl_list_init(&xwm->drag_focus_destroy.link);
|
||||
|
||||
xwm->ping_timeout = 10000;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue