diff options
| author | Jake Koroman <jake@jakekoroman.com> | 2025-10-18 10:03:25 -0400 |
|---|---|---|
| committer | Jake Koroman <jake@jakekoroman.com> | 2025-10-18 10:03:25 -0400 |
| commit | a61f5fe10e7ddefe2e23cefab59ba2e0ece36ac5 (patch) | |
| tree | 3e2cfab0430c0875797ab504d4bde907bf3bbda9 /dwm.c | |
| parent | 824ebb2d3428f4050d06bb140c98c6e23f22b5bc (diff) | |
Diffstat (limited to 'dwm.c')
| -rw-r--r-- | dwm.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -219,6 +219,7 @@ static void tag(const Arg *arg); static void tagmon(const Arg *arg); static void togglebar(const Arg *arg); static void togglefloating(const Arg *arg); +static void togglefullscr(const Arg *arg); static void toggletag(const Arg *arg); static void toggleview(const Arg *arg); static void unfocus(Client *c, int setfocus); @@ -1837,6 +1838,13 @@ togglefloating(const Arg *arg) } void +togglefullscr(const Arg *arg) +{ + if (selmon->sel) + setfullscreen(selmon->sel, !selmon->sel->isfullscreen); +} + +void toggletag(const Arg *arg) { unsigned int newtags; |
