aboutsummaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authorgonzo <gonzo@toniatuh.com>2023-05-16 22:59:48 +0200
committergonzo <gonzo@toniatuh.com>2023-05-16 22:59:48 +0200
commit0ee091705fcefe048d7d6714b89d514c3b1ac328 (patch)
treeb8dbdd9c0b8fa04b0fbda9ee2054c82233d1c72b /dwm.c
parent51b5750a9ae6134415c8c2157b08a0114e3ef29f (diff)
downloaddwm-0ee091705fcefe048d7d6714b89d514c3b1ac328.tar.gz
actualfullscreen patched
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 99f78d4..78462e9 100644
--- a/dwm.c
+++ b/dwm.c
@@ -212,6 +212,7 @@ static void tagmon(const Arg *arg);
static void tile(Monitor *m);
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);
@@ -1723,6 +1724,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;