summaryrefslogtreecommitdiffhomepage
path: root/patch
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-03-20 16:45:20 +0100
committerbakkeby <[email protected]>2020-03-20 16:45:20 +0100
commit873b856428e9695bd13a1df37e9eb38c20a3f52b (patch)
tree0a858721de80a1ab4e0fcf8794716ab54a8538d6 /patch
parent2541d38d2ce2be00d39be16f69ae0e793d168aa1 (diff)
downloaddwm-flexipatch-873b856428e9695bd13a1df37e9eb38c20a3f52b.tar.gz
dwm-flexipatch-873b856428e9695bd13a1df37e9eb38c20a3f52b.zip
FAKEFULLSCREEN_PATCH takes precedence over the FAKEFULLSCREEN_CLIENT_PATCH, ref. #13
Diffstat (limited to 'patch')
-rw-r--r--patch/include.c2
-rw-r--r--patch/include.h2
-rw-r--r--patch/togglefullscreen.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/patch/include.c b/patch/include.c
index d8631fb..d7c3178 100644
--- a/patch/include.c
+++ b/patch/include.c
@@ -37,7 +37,7 @@
#if EXRESIZE_PATCH
#include "exresize.c"
#endif
-#if FAKEFULLSCREEN_CLIENT_PATCH
+#if !FAKEFULLSCREEN_PATCH && FAKEFULLSCREEN_CLIENT_PATCH
#include "fakefullscreenclient.c"
#endif
#if FOCUSADJACENTTAG_PATCH
diff --git a/patch/include.h b/patch/include.h
index dd36e37..aa77397 100644
--- a/patch/include.h
+++ b/patch/include.h
@@ -37,7 +37,7 @@
#if EXRESIZE_PATCH
#include "exresize.h"
#endif
-#if FAKEFULLSCREEN_CLIENT_PATCH
+#if !FAKEFULLSCREEN_PATCH && FAKEFULLSCREEN_CLIENT_PATCH
#include "fakefullscreenclient.h"
#endif
#if FOCUSADJACENTTAG_PATCH
diff --git a/patch/togglefullscreen.c b/patch/togglefullscreen.c
index 07d4062..0d08e72 100644
--- a/patch/togglefullscreen.c
+++ b/patch/togglefullscreen.c
@@ -4,7 +4,7 @@ togglefullscreen(const Arg *arg)
if (!selmon->sel)
return;
- #if FAKEFULLSCREEN_CLIENT_PATCH
+ #if !FAKEFULLSCREEN_PATCH && FAKEFULLSCREEN_CLIENT_PATCH
if (selmon->sel->fakefullscreen) {
selmon->sel->fakefullscreen = 0;
if (selmon->sel->isfullscreen) {