diff options
| author | bakkeby <[email protected]> | 2020-08-11 10:25:19 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-08-11 10:25:19 +0200 |
| commit | 57e727b498e2916abdd7b819084c01c1db0f641b (patch) | |
| tree | 8eeea304450e03942ee6310e755d0906edb7d575 /patch/focusmaster.c | |
| parent | 10f4d513ec5df78db1c2b83706c208c3032e64ca (diff) | |
| download | dwm-flexipatch-57e727b498e2916abdd7b819084c01c1db0f641b.tar.gz dwm-flexipatch-57e727b498e2916abdd7b819084c01c1db0f641b.zip | |
Adding focusmaster patch
Diffstat (limited to 'patch/focusmaster.c')
| -rw-r--r-- | patch/focusmaster.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patch/focusmaster.c b/patch/focusmaster.c new file mode 100644 index 0000000..839fb43 --- /dev/null +++ b/patch/focusmaster.c @@ -0,0 +1,13 @@ +void +focusmaster(const Arg *arg) +{ + Client *c; + + if (selmon->nmaster < 1) + return; + + c = nexttiled(selmon->clients); + + if (c) + focus(c); +}
\ No newline at end of file |
