diff options
author | Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> | 2012-06-28 18:08:06 +0300 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-06-28 14:14:01 -0400 |
commit | 00d17bb9034bb6ca291fb68a594694b423996990 (patch) | |
tree | 1effe8c35aa0124b1254fd7c5699be3d98308d60 | |
parent | b9d2a0fc0a16f470c48851bd52d33c91ea791296 (diff) |
shell: Don't move fullscreen surfaces
-rw-r--r-- | src/shell.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shell.c b/src/shell.c index b477bbe6..4d09c5b5 100644 --- a/src/shell.c +++ b/src/shell.c @@ -1014,6 +1014,9 @@ surface_move(struct shell_surface *shsurf, struct weston_seat *ws) if (!shsurf) return -1; + if (shsurf->type == SHELL_SURFACE_FULLSCREEN) + return 0; + move = malloc(sizeof *move); if (!move) return -1; |