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:
Kristian Høgsberg 2014-01-01 22:34:49 -08:00
parent 42284f5f9e
commit 8bc525c60d

View file

@ -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;