mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-13 08:22:16 -04:00
xdg-shell: fix unmap reset assert
This commit is contained in:
parent
35c35530a3
commit
3c922105c3
1 changed files with 1 additions and 1 deletions
|
|
@ -320,7 +320,7 @@ static void xdg_surface_role_commit(struct wlr_surface *wlr_surface) {
|
|||
reset_xdg_surface_role_object(surface);
|
||||
reset_xdg_surface(surface);
|
||||
|
||||
assert(!surface->initial_commit);
|
||||
assert(!surface->initialized);
|
||||
surface->initial_commit = false;
|
||||
} else {
|
||||
surface->initial_commit = !surface->initialized;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue