libXshmfence:update and moved to /usr/lib
[nyanlinux.git] / builders / dwm-1 / dwm-actualfullscreen-20191112-cb3f58a.diff
blob056be91030820885b6235b60aae176bcd5bef09b
1 --- a/dwm.c
2 +++ b/dwm.c
3 @@ -211,6 +211,7 @@ static void tagmon(const Arg *arg);
4 static void tile(Monitor *);
5 static void togglebar(const Arg *arg);
6 static void togglefloating(const Arg *arg);
7 +static void togglefullscr(const Arg *arg);
8 static void toggletag(const Arg *arg);
9 static void toggleview(const Arg *arg);
10 static void unfocus(Client *c, int setfocus);
11 @@ -1719,6 +1720,13 @@ togglefloating(const Arg *arg)
12 arrange(selmon);
15 +void
16 +togglefullscr(const Arg *arg)
18 + if(selmon->sel)
19 + setfullscreen(selmon->sel, !selmon->sel->isfullscreen);
22 void
23 toggletag(const Arg *arg)
25 --
26 2.17.1