actualfullscreen patch

This commit is contained in:
Sravan Balaji
2020-11-23 20:29:38 -05:00
parent c8f5653ecd
commit a40a0f0bd6
5 changed files with 72 additions and 1 deletions

8
dwm.c
View File

@@ -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);
@@ -1722,6 +1723,13 @@ togglefloating(const Arg *arg)
arrange(selmon);
}
void
togglefullscr(const Arg *arg)
{
if(selmon->sel)
setfullscreen(selmon->sel, !selmon->sel->isfullscreen);
}
void
toggletag(const Arg *arg)
{