Fix fakefullscreen

This commit is contained in:
Przemek Grondek 2023-06-14 18:41:59 +02:00
parent 8cd6ccf437
commit 5cf38785d5
2 changed files with 2 additions and 2 deletions

2
dwm.c
View File

@ -1844,7 +1844,7 @@ fullscreen(const Arg *arg)
{
if (selmon->showbar) {
for(last_layout = (Layout *)layouts; last_layout != selmon->lt[selmon->sellt]; last_layout++);
setlayout(&((Arg) { .v = &monocleLayout }));
setlayout(&((Arg) { .v = monocleLayout }));
} else {
setlayout(&((Arg) { .v = last_layout }));
}