Fix fakefullscreen
This commit is contained in:
parent
8cd6ccf437
commit
5cf38785d5
2
dwm.c
2
dwm.c
@ -1844,7 +1844,7 @@ fullscreen(const Arg *arg)
|
|||||||
{
|
{
|
||||||
if (selmon->showbar) {
|
if (selmon->showbar) {
|
||||||
for(last_layout = (Layout *)layouts; last_layout != selmon->lt[selmon->sellt]; last_layout++);
|
for(last_layout = (Layout *)layouts; last_layout != selmon->lt[selmon->sellt]; last_layout++);
|
||||||
setlayout(&((Arg) { .v = &monocleLayout }));
|
setlayout(&((Arg) { .v = monocleLayout }));
|
||||||
} else {
|
} else {
|
||||||
setlayout(&((Arg) { .v = last_layout }));
|
setlayout(&((Arg) { .v = last_layout }));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user