diff options
author | tsxv478 <vt0451@yandex.ru> | 2023-02-14 17:45:37 +0300 |
---|---|---|
committer | tsxv478 <vt0451@yandex.ru> | 2023-02-14 17:45:37 +0300 |
commit | 36d9bb1c4a16654fb6223b4e350d06660f7a1062 (patch) | |
tree | 01430b200c7f1931b9b8fe0741c92c14ffa9fb3a /dwm.c | |
parent | fb5c73335f08eb8a908351fbba6888e72ac7326a (diff) |
actual fullscreen
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -237,6 +237,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 togglegaps(const Arg *arg); static void toggletag(const Arg *arg); static void toggleview(const Arg *arg); @@ -2008,6 +2009,13 @@ togglegaps(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; |