aboutsummaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authorRomain Gonçalves <commit@rgoncalves.se>2021-11-21 14:20:26 +0100
committerRomain Gonçalves <me@rgoncalves.se>2024-10-09 20:09:49 +0200
commit7df6e28325bdd48b3ad6a38b3f63fe8519b8cf8f (patch)
tree954eb7bc562e4ba9e878c04eedc3d2768f76a28d /dwm.c
parentb9bcd19c6da5804c7d15259c01403b88d0f38ef3 (diff)
downloaddwm-7df6e28325bdd48b3ad6a38b3f63fe8519b8cf8f.tar.gz
patches: Apply actualfullscreen
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 1443802..7fb67f1 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);
@@ -1735,6 +1736,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;
remember that computers suck.