summaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2024-08-17 11:14:27 +0400
committerSuleyman Farajli <suleyman@farajli.net>2025-05-27 23:51:38 +0400
commitfe79292ddfd24d3dd62b021c11b0df054da7c66d (patch)
tree7c7136a5d5cc930870e0e6ff576b2bfbc8540b18 /dwm.c
parent6c3a298ad8a9b2658df26a566c48a953efa41cb4 (diff)
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 a20a885..96fedc2 100644
--- a/dwm.c
+++ b/dwm.c
@@ -210,6 +210,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);
@@ -1711,6 +1712,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;