diff options
author | Romain Gonçalves <commit@rgoncalves.se> | 2021-11-21 14:20:26 +0100 |
---|---|---|
committer | Romain Gonçalves <commit@rgoncalves.se> | 2021-11-21 16:07:48 +0100 |
commit | 0fafafcafe2111a123385a1feb953a06e318d887 (patch) | |
tree | 51a90d97eef0181f4edab6721c661d71154dbd49 /dwm.c | |
parent | d01d7cf80cced38c225a22b50ea36869a27b1747 (diff) | |
download | dwm-0fafafcafe2111a123385a1feb953a06e318d887.tar.gz |
patches: Apply actualfullscreen
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -212,6 +212,7 @@ static void tagmon(const Arg *arg); static void tile(Monitor *); 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; |