shell.c: Set state_changed for xwayland surfaces as well

Fixes the problem where xwayland surfaces pop up at 0,0 always.
dev
Kristian Høgsberg 11 years ago
parent 42284f5f9e
commit 8bc525c60d
  1. 1
      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); shell_surface_set_parent(shsurf, NULL);
shsurf->type = SHELL_SURFACE_XWAYLAND; shsurf->type = SHELL_SURFACE_XWAYLAND;
shsurf->state_changed = true;
} }
static const struct weston_pointer_grab_interface popup_grab_interface; static const struct weston_pointer_grab_interface popup_grab_interface;

Loading…
Cancel
Save