[PATCH weston 4/4] shell: Don't move fullscreen surfaces

Ander Conselvan de Oliveira ander.conselvan.de.oliveira at intel.com
Thu Jun 28 08:08:06 PDT 2012


---
 src/shell.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/shell.c b/src/shell.c
index b6b7a06..07edf5e 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;
-- 
1.7.4.1



More information about the wayland-devel mailing list