From 8bc525c60d36b5216af54bc041340cd4f36e141d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 1 Jan 2014 22:34:49 -0800 Subject: [PATCH] shell.c: Set state_changed for xwayland surfaces as well Fixes the problem where xwayland surfaces pop up at 0,0 always. --- desktop-shell/shell.c | 1 + 1 file changed, 1 insertion(+) 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;