summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorProsperousPotato <ProsperousPotato@users.noreply.github.com>2025-10-17 22:25:53 +0100
committerProsperousPotato <ProsperousPotato@users.noreply.github.com>2025-10-17 22:25:53 +0100
commit9f6385df20609b0592c2aa2577d39cd4240ebee0 (patch)
tree7244fd88f77a8b725a761acd58a7b1b30a433d36
parent59645bbc2df69b06356e00648cfedececa860c71 (diff)
fix moveresize moving fullscreen windows
-rw-r--r--dwm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dwm.c b/dwm.c
index f2a92d1..39c578e 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1148,6 +1148,8 @@ moveresize(const Arg *arg) {
return;
if (selmon->lt[selmon->sellt]->arrange && !c->isfloating)
return;
+ if (c->isfullscreen)
+ return;
if (sscanf((char *)arg->v, "%d%c %d%c %d%c %d%c", &x, &xAbs, &y, &yAbs, &w, &wAbs, &h, &hAbs) != 8)
return;