summaryrefslogtreecommitdiffhomepage
path: root/patch
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2021-05-13 14:25:26 +0200
committerbakkeby <[email protected]>2021-05-13 14:25:26 +0200
commit7fe81a6280bb411306c283e539bcf4009cdea679 (patch)
treeadf420c2b90fd0145da00df729cc96b33e445632 /patch
parent0b5bc76eef18ff323a776ef8596dab9d5171f7c5 (diff)
downloaddwm-flexipatch-7fe81a6280bb411306c283e539bcf4009cdea679.tar.gz
dwm-flexipatch-7fe81a6280bb411306c283e539bcf4009cdea679.zip
fakefullscreen vs fakefullscreenclient compatibility, let fakefullscreen take precedence
Diffstat (limited to 'patch')
-rw-r--r--patch/bar_indicators.c2
-rw-r--r--patch/togglefullscreen.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/patch/bar_indicators.c b/patch/bar_indicators.c
index 644e072..91e0a5b 100644
--- a/patch/bar_indicators.c
+++ b/patch/bar_indicators.c
@@ -96,7 +96,7 @@ drawindicator(Monitor *m, Client *c, unsigned int occ, int x, int y, int w, int
void
drawstateindicator(Monitor *m, Client *c, unsigned int occ, int x, int y, int w, int h, unsigned int tag, int filled, int invert)
{
- #if FAKEFULLSCREEN_CLIENT_PATCH
+ #if FAKEFULLSCREEN_CLIENT_PATCH && !FAKEFULLSCREEN_PATCH
if (c->fakefullscreen && c->isfloating)
drawindicator(m, c, occ, x, y, w, h, tag, filled, invert, floatfakefsindicatortype);
else if (c->fakefullscreen)
diff --git a/patch/togglefullscreen.c b/patch/togglefullscreen.c
index bc1c705..3bb9101 100644
--- a/patch/togglefullscreen.c
+++ b/patch/togglefullscreen.c
@@ -5,7 +5,7 @@ togglefullscreen(const Arg *arg)
if (!c)
return;
- #if FAKEFULLSCREEN_CLIENT_PATCH
+ #if FAKEFULLSCREEN_CLIENT_PATCH && !FAKEFULLSCREEN_PATCH
if (c->fakefullscreen == 1) { // fake fullscreen --> fullscreen
c->fakefullscreen = 2;
setfullscreen(c, 1);