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)
|
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…
x
Reference in New Issue
Block a user