mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-04 20:55:58 +01:00
xwayland/xwm: reset serial in xwayland_surface_dissociate()
The same X11 window can be used multiple times with a different wl_surface. Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3570
This commit is contained in:
parent
fbf5982e38
commit
03412e9aab
1 changed files with 1 additions and 0 deletions
|
@ -404,6 +404,7 @@ static void xwayland_surface_dissociate(struct wlr_xwayland_surface *xsurface) {
|
|||
wl_list_remove(&xsurface->unpaired_link);
|
||||
wl_list_init(&xsurface->unpaired_link);
|
||||
xsurface->surface_id = 0;
|
||||
xsurface->serial = 0;
|
||||
}
|
||||
|
||||
static void xwayland_surface_destroy(struct wlr_xwayland_surface *xsurface) {
|
||||
|
|
Loading…
Reference in a new issue