true fullscreen patch

This commit is contained in:
Luke Smith
2019-12-14 17:23:48 -05:00
parent 336c411392
commit 73da539a90
2 changed files with 9 additions and 0 deletions

8
dwm.c
View File

@@ -228,6 +228,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 togglescratch(const Arg *arg);
static void toggletag(const Arg *arg);
static void toggleview(const Arg *arg);
@@ -1804,6 +1805,13 @@ togglescratch(const Arg *arg)
spawn(arg);
}
void
togglefullscr(const Arg *arg)
{
if(selmon->sel)
setfullscreen(selmon->sel, !selmon->sel->isfullscreen);
}
void
toggletag(const Arg *arg)
{