diff options
author | Romain Gonçalves <commit@rgoncalves.se> | 2021-11-21 14:20:26 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2024-10-09 20:09:49 +0200 |
commit | 7df6e28325bdd48b3ad6a38b3f63fe8519b8cf8f (patch) | |
tree | 954eb7bc562e4ba9e878c04eedc3d2768f76a28d /dwm.c | |
parent | b9bcd19c6da5804c7d15259c01403b88d0f38ef3 (diff) | |
download | dwm-7df6e28325bdd48b3ad6a38b3f63fe8519b8cf8f.tar.gz |
patches: Apply actualfullscreen
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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; |