mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
Adding improvement to the fakefullscreenclient exiting out of proper fullscreen into tiled fullscreen
This commit is contained in:
parent
9b85650c1d
commit
3b175a5387
@ -10,6 +10,15 @@ togglefakefullscreen(const Arg *arg)
|
||||
else
|
||||
selmon->sel->isfullscreen = 0;
|
||||
} else {
|
||||
if (selmon->sel->isfullscreen) {
|
||||
selmon->sel->isfloating = selmon->sel->oldstate;
|
||||
selmon->sel->bw = selmon->sel->oldbw;
|
||||
selmon->sel->x = selmon->sel->oldx;
|
||||
selmon->sel->y = selmon->sel->oldy;
|
||||
selmon->sel->w = selmon->sel->oldw;
|
||||
selmon->sel->h = selmon->sel->oldh;
|
||||
resizeclient(selmon->sel, selmon->sel->x, selmon->sel->y, selmon->sel->w, selmon->sel->h);
|
||||
}
|
||||
selmon->sel->fakefullscreen = 1;
|
||||
selmon->sel->isfullscreen = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user