shell: Don't move fullscreen surfaces

dev
Ander Conselvan de Oliveira 13 years ago committed by Kristian Høgsberg
parent b9d2a0fc0a
commit 00d17bb903
  1. 3
      src/shell.c

@ -1014,6 +1014,9 @@ surface_move(struct shell_surface *shsurf, struct weston_seat *ws)
if (!shsurf) if (!shsurf)
return -1; return -1;
if (shsurf->type == SHELL_SURFACE_FULLSCREEN)
return 0;
move = malloc(sizeof *move); move = malloc(sizeof *move);
if (!move) if (!move)
return -1; return -1;

Loading…
Cancel
Save