diff options
Diffstat (limited to 'patch/stacker.c')
| -rw-r--r-- | patch/stacker.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/patch/stacker.c b/patch/stacker.c index 2b28319..f7f638e 100644 --- a/patch/stacker.c +++ b/patch/stacker.c @@ -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 |
