diff options
Diffstat (limited to 'dwm.c')
| -rw-r--r-- | dwm.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -211,6 +211,7 @@ static void tag(const Arg *arg); static void tagmon(const Arg *arg); static void tile(Monitor *m); static void togglebar(const Arg *arg); +static void toggleborder(const Arg *arg); static void togglefloating(const Arg *arg); static void togglefullscr(const Arg *arg); static void toggletag(const Arg *arg); @@ -1710,6 +1711,14 @@ togglebar(const Arg *arg) } void +toggleborder(const Arg *arg) +{ + selmon->sel->bw = (selmon->sel->bw == borderpx ? 0 : borderpx); + arrange(selmon); +} + + +void togglefloating(const Arg *arg) { if (!selmon->sel) |
