shell: Reject moving or resizing toplevel windows
diff --git a/compositor/shell.c b/compositor/shell.c
index 393dfee..7c35fd0 100644
--- a/compositor/shell.c
+++ b/compositor/shell.c
@@ -80,8 +80,6 @@
 {
 	struct wlsc_move_grab *move;
 
-	/* FIXME: Reject if fullscreen */
-
 	move = malloc(sizeof *move);
 	if (!move)
 		return -1;
@@ -831,7 +829,8 @@
 	struct wlsc_surface *surface =
 		(struct wlsc_surface *) device->pointer_focus;
 
-	if (surface == NULL)
+	if (surface == NULL ||
+	    surface->map_type == WLSC_SURFACE_MAP_FULLSCREEN)
 		return;
 	if (surface == shell->panel)
 		return;
@@ -852,8 +851,8 @@
 	uint32_t edges = 0;
 	int32_t x, y;
 
-	if (surface == NULL)
-		return;
+	if (surface == NULL ||
+	    surface->map_type == WLSC_SURFACE_MAP_FULLSCREEN)
 	if (surface == shell->panel)
 		return;
 	if (surface == shell->background)