summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStivvo <stivvo01@gmail.com>2020-09-16 09:20:07 +0200
committerStivvo <stivvo01@gmail.com>2020-09-16 09:20:09 +0200
commit2b286ffeeda4fcd618c8f6a3c86efb8e96050bd2 (patch)
tree92945955aed66c1788195d4114e3834873794c33
parent405280fd09269c7624fc86189f253440e0bf5fbe (diff)
use m->m (fullscreen on top of layers)
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index d143dd6..1177fa8 100644
--- a/dwl.c
+++ b/dwl.c
@@ -722,7 +722,7 @@ setfullscreen(Client *c, int fullscreen)
c->prevy = c->geom.y;
c->prevheight = c->geom.height;
c->prevwidth = c->geom.width;
- resize(c, c->mon->w.x, c->mon->w.y, c->mon->w.width, c->mon->w.height, 0);
+ resize(c, c->mon->m.x, c->mon->m.y, c->mon->m.width, c->mon->m.height, 0);
} else {
resize(c, c->prevx, c->prevy, c->prevwidth, c->prevheight, 0);
}