shell: Don't move fullscreen surfaces

This commit is contained in:
Ander Conselvan de Oliveira 2012-06-28 18:08:06 +03:00 committed by Kristian Høgsberg
parent b9d2a0fc0a
commit 00d17bb903
1 changed files with 3 additions and 0 deletions

View File

@ -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;