From 00d17bb9034bb6ca291fb68a594694b423996990 Mon Sep 17 00:00:00 2001 From: Ander Conselvan de Oliveira Date: Thu, 28 Jun 2012 18:08:06 +0300 Subject: [PATCH] shell: Don't move fullscreen surfaces --- src/shell.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/shell.c b/src/shell.c index b477bbe..4d09c5b 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; -- 2.7.4