use m->m (fullscreen on top of layers)
This commit is contained in:
parent
36b9831ffd
commit
cb9269df41
2
dwl.c
2
dwl.c
@ -1095,7 +1095,7 @@ setfullscreen(Client *c, int fullscreen)
|
|||||||
c->prevy = c->geom.y;
|
c->prevy = c->geom.y;
|
||||||
c->prevheight = c->geom.height;
|
c->prevheight = c->geom.height;
|
||||||
c->prevwidth = c->geom.width;
|
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 {
|
} else {
|
||||||
resize(c, c->prevx, c->prevy, c->prevwidth, c->prevheight, 0);
|
resize(c, c->prevx, c->prevy, c->prevwidth, c->prevheight, 0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user