diff options
Diffstat (limited to 'patch/fullscreen.c')
| -rw-r--r-- | patch/fullscreen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patch/fullscreen.c b/patch/fullscreen.c index 3ddb0e1..aace550 100644 --- a/patch/fullscreen.c +++ b/patch/fullscreen.c @@ -1,11 +1,11 @@ -Layout *last_layout; +Layout *last_layout = &layouts[0]; void fullscreen(const Arg *arg) { if (selmon->showbar) { for (last_layout = (Layout *)layouts; last_layout != selmon->lt[selmon->sellt]; last_layout++); - setlayout(&((Arg) { .v = &layouts[2] })); // <-- NB! hardcoded monocle + setlayout(&((Arg) { .v = &layouts[MONOCLE_LAYOUT_POS] })); } else { setlayout(&((Arg) { .v = last_layout })); } |
