mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
fakefullscreenclient + stacker: fix for allowing focusstack when client is in fake fullscreen (issue introduced by alwaysfullscreen being merged upstream
This commit is contained in:
parent
77c45afe48
commit
7b9460e770
3
dwm.c
3
dwm.c
@ -2002,6 +2002,9 @@ focusstack(const Arg *arg)
|
|||||||
#if LOSEFULLSCREEN_PATCH
|
#if LOSEFULLSCREEN_PATCH
|
||||||
if (!selmon->sel)
|
if (!selmon->sel)
|
||||||
return;
|
return;
|
||||||
|
#elif FAKEFULLSCREEN_CLIENT_PATCH
|
||||||
|
if (!selmon->sel || (selmon->sel->isfullscreen && !selmon->sel->fakefullscreen))
|
||||||
|
return;
|
||||||
#else
|
#else
|
||||||
if (!selmon->sel || selmon->sel->isfullscreen)
|
if (!selmon->sel || selmon->sel->isfullscreen)
|
||||||
return;
|
return;
|
||||||
|
@ -7,7 +7,13 @@ focusstack(const Arg *arg)
|
|||||||
if (i < 0)
|
if (i < 0)
|
||||||
return;
|
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)
|
if (!selmon->sel || selmon->sel->isfullscreen)
|
||||||
return;
|
return;
|
||||||
#endif // LOSEFULLSCREEN_PATCH
|
#endif // LOSEFULLSCREEN_PATCH
|
||||||
|
Loading…
Reference in New Issue
Block a user