summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2014-01-01 22:34:49 -0800
committerKristian Høgsberg <krh@bitplanet.net>2014-01-01 22:34:49 -0800
commit8bc525c60d36b5216af54bc041340cd4f36e141d (patch)
tree4e7b3b8ee19ceb1573448564deb13ac14675f2d0
parent42284f5f9e08d68b28d011924983a19f1e070eef (diff)
shell.c: Set state_changed for xwayland surfaces as well
Fixes the problem where xwayland surfaces pop up at 0,0 always.
-rw-r--r--desktop-shell/shell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c
index e22c97fa..22202b42 100644
--- a/desktop-shell/shell.c
+++ b/desktop-shell/shell.c
@@ -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;