shell: Don't move fullscreen surfaces
This commit is contained in:
parent
b9d2a0fc0a
commit
00d17bb903
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue