aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-11-25 12:15:55 -0600
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-11-30 17:54:47 -0600
commitc91d21b68f436bc61dfce8b3f47beb5855bdd1a2 (patch)
tree9c40fcdb115845e7666900babc5ea715d1712eaf /dwl.c
parent3213088aa23e1f6cad1a5ba506dfb7318e1011c9 (diff)
do not move/resize if grabbed client is fullscreen
Diffstat (limited to 'dwl.c')
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index fd22c8f..4648890 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1510,7 +1510,7 @@ moveresize(const Arg *arg)
if (cursor_mode != CurNormal && cursor_mode != CurPressed)
return;
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;
/* Float the window and tell motionnotify to grab it */