do not lose border after fullscreen
This commit is contained in:
parent
b61a38d642
commit
c03c11059f
2
dwm.c
2
dwm.c
@ -1583,8 +1583,8 @@ setfullscreen(Client *c, int fullscreen)
|
|||||||
PropModeReplace, (unsigned char*)0, 0);
|
PropModeReplace, (unsigned char*)0, 0);
|
||||||
c->isfullscreen = 0;
|
c->isfullscreen = 0;
|
||||||
c->isfloating = c->oldstate;
|
c->isfloating = c->oldstate;
|
||||||
if(c->isfloating){
|
|
||||||
c->bw = c->oldbw;
|
c->bw = c->oldbw;
|
||||||
|
if(c->isfloating){
|
||||||
c->x = c->oldx;
|
c->x = c->oldx;
|
||||||
c->y = c->oldy;
|
c->y = c->oldy;
|
||||||
c->w = c->oldw;
|
c->w = c->oldw;
|
||||||
|
Loading…
Reference in New Issue
Block a user