fakefullscreen vs fakefullscreenclient compatibility, let fakefullscreen take precedence

This commit is contained in:
bakkeby
2021-05-13 14:25:26 +02:00
parent 0b5bc76eef
commit 7fe81a6280
4 changed files with 10 additions and 10 deletions

View File

@ -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);