summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStivvo <stivvo01@gmail.com>2020-09-16 09:20:07 +0200
committerGuido Cella <guido@guidocella.xyz>2020-12-19 18:06:11 +0100
commitcb9269df41c66cbd871fc9bc73657e736bee6a0d (patch)
tree37763c5e015276e61d1a136386b22406f299caa7
parent36b9831ffdec9c793a0f8afddbd9e9f9fd7f8865 (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 c051b5f..ec8c7db 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1095,7 +1095,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);
}