Adding fakefullscreeenclient patch

This commit is contained in:
bakkeby
2019-11-21 12:15:16 +01:00
parent 5fa724da0d
commit 9b85650c1d
8 changed files with 80 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
void
togglefakefullscreen(const Arg *arg)
{
if (!selmon->sel)
return;
if (selmon->sel->fakefullscreen) {
if (selmon->sel->isfullscreen)
selmon->sel->fakefullscreen = 0;
else
selmon->sel->isfullscreen = 0;
} else {
selmon->sel->fakefullscreen = 1;
selmon->sel->isfullscreen = 0;
}
setfullscreen(selmon->sel, !selmon->sel->isfullscreen);
}

View File

@@ -0,0 +1 @@
static void togglefakefullscreen(const Arg *arg);

View File

@@ -32,6 +32,9 @@
#if EWMHTAGS_PATCH
#include "ewmhtags.c"
#endif
#if FAKEFULLSCREEN_CLIENT_PATCH
#include "fakefullscreenclient.c"
#endif
#if FOCUSADJACENTTAG_PATCH
#include "focusadjacenttag.c"
#endif

View File

@@ -35,6 +35,9 @@
#if EXRESIZE_PATCH
#include "exresize.h"
#endif
#if FAKEFULLSCREEN_CLIENT_PATCH
#include "fakefullscreenclient.h"
#endif
#if FOCUSADJACENTTAG_PATCH
#include "focusadjacenttag.h"
#endif