fakefullscreenclient + stacker: fix for allowing focusstack when client is in fake fullscreen (issue introduced by alwaysfullscreen being merged upstream

This commit is contained in:
bakkeby 2021-04-29 09:05:32 +02:00
parent 77c45afe48
commit 7b9460e770
2 changed files with 10 additions and 1 deletions

3
dwm.c
View File

@ -2002,6 +2002,9 @@ focusstack(const Arg *arg)
#if LOSEFULLSCREEN_PATCH
if (!selmon->sel)
return;
#elif FAKEFULLSCREEN_CLIENT_PATCH
if (!selmon->sel || (selmon->sel->isfullscreen && !selmon->sel->fakefullscreen))
return;
#else
if (!selmon->sel || selmon->sel->isfullscreen)
return;

View File

@ -7,7 +7,13 @@ focusstack(const Arg *arg)
if (i < 0)
return;
#if !LOSEFULLSCREEN_PATCH
#if LOSEFULLSCREEN_PATCH
if (!selmon->sel)
return;
#elif FAKEFULLSCREEN_CLIENT_PATCH
if (!selmon->sel || (selmon->sel->isfullscreen && !selmon->sel->fakefullscreen))
return;
#else
if (!selmon->sel || selmon->sel->isfullscreen)
return;
#endif // LOSEFULLSCREEN_PATCH