summaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
authorrafa_99 <rafa99@protonmail.com>2020-07-04 23:11:55 +0000
committerrafa_99 <rafa99@protonmail.com>2020-07-04 23:11:55 +0000
commitccf1b39f45d7069da3ac66c979fa14ca61ac3346 (patch)
treec15894472ad0dbcacafae22fc24ec5cd71594469 /dwm.c
parent1ac7dd80ffc71b61ca2941118437fca1f6007ac2 (diff)
Actual Fullscreen
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/dwm.c b/dwm.c
index 8dc1787..370bcf8 100644
--- a/dwm.c
+++ b/dwm.c
@@ -215,6 +215,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);
@@ -1708,6 +1709,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;