do not move/resize if grabbed client is fullscreen
This commit is contained in:
parent
3213088aa2
commit
c91d21b68f
2
dwl.c
2
dwl.c
@ -1510,7 +1510,7 @@ moveresize(const Arg *arg)
|
|||||||
if (cursor_mode != CurNormal && cursor_mode != CurPressed)
|
if (cursor_mode != CurNormal && cursor_mode != CurPressed)
|
||||||
return;
|
return;
|
||||||
xytonode(cursor->x, cursor->y, NULL, &grabc, NULL, NULL, NULL);
|
xytonode(cursor->x, cursor->y, NULL, &grabc, NULL, NULL, NULL);
|
||||||
if (!grabc || client_is_unmanaged(grabc))
|
if (!grabc || client_is_unmanaged(grabc) || grabc->isfullscreen)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* Float the window and tell motionnotify to grab it */
|
/* Float the window and tell motionnotify to grab it */
|
||||||
|
Loading…
Reference in New Issue
Block a user