summaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
authortsxv478 <atvx717@infraredcombat.xyz>2023-02-14 17:45:37 +0300
committertsxv478 <atvx717@infraredcombat.xyz>2023-02-14 17:45:37 +0300
commit4fe93c79480fe92222c8a32604c130d760a077fd (patch)
tree01430b200c7f1931b9b8fe0741c92c14ffa9fb3a /dwm.c
parenta6333852315add8777d6d8a93d3f06e9bb4517e9 (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 0e9bc70..9b77f13 100644
--- a/dwm.c
+++ b/dwm.c
@@ -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;