diff options
| author | krolyxon <krolyxon@tutanota.com> | 2022-09-11 02:46:59 +0530 |
|---|---|---|
| committer | krolyxon <krolyxon@tutanota.com> | 2022-09-11 02:46:59 +0530 |
| commit | 7be494dd01bfc1ed0be3d4a2fcd5f9e6b37e2314 (patch) | |
| tree | 237eac2ff24bd32c754e05fc08feff20d760a0da /dwm.c | |
| parent | 963cbecb4bb62a0c1bbc25771252b86fb5373dc5 (diff) | |
actual fullscreen patch
Diffstat (limited to 'dwm.c')
| -rw-r--r-- | dwm.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -235,6 +235,7 @@ static void tagmon(const Arg *arg); static void tile(Monitor *); static void togglebar(const Arg *arg); static void togglefloating(const Arg *arg); +static void togglefullscr(const Arg *arg); static void togglescratch(const Arg *arg); static void toggletag(const Arg *arg); static void toggleview(const Arg *arg); @@ -1870,6 +1871,13 @@ togglescratch(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; |
