diff options
| author | bakkeby <[email protected]> | 2019-10-03 22:58:58 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2019-10-03 22:58:58 +0200 |
| commit | 40000bba1ce137d426a3844d2a10e2e646c7ea82 (patch) | |
| tree | a3578b533802a37c75ca1313c3fcaebdb95067ab /patch/fullscreen.c | |
| parent | 9ebd9c8397c395d1ec8daf27723a70c901315bb3 (diff) | |
| download | dwm-flexipatch-40000bba1ce137d426a3844d2a10e2e646c7ea82.tar.gz dwm-flexipatch-40000bba1ce137d426a3844d2a10e2e646c7ea82.zip | |
Adding quitonlyonempty patch and made monocle layout position configurable for fullscreen and warp patches
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 })); } |
