shell.c: Set state_changed for xwayland surfaces as well
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 2 Jan 2014 06:34:49 +0000 (22:34 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 2 Jan 2014 06:34:49 +0000 (22:34 -0800)
Fixes the problem where xwayland surfaces pop up at 0,0 always.

desktop-shell/shell.c

index e22c97f..22202b4 100644 (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;