mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-07-21 02:25:36 +00:00
shell.c: Set state_changed for xwayland surfaces as well
Fixes the problem where xwayland surfaces pop up at 0,0 always.
This commit is contained in:
parent
42284f5f9e
commit
8bc525c60d
|
@ -2582,6 +2582,7 @@ set_xwayland(struct shell_surface *shsurf, int x, int y, uint32_t flags)
|
|||
shell_surface_set_parent(shsurf, NULL);
|
||||
|
||||
shsurf->type = SHELL_SURFACE_XWAYLAND;
|
||||
shsurf->state_changed = true;
|
||||
}
|
||||
|
||||
static const struct weston_pointer_grab_interface popup_grab_interface;
|
||||
|
|
Loading…
Reference in a new issue