diff options
| author | bakkeby <[email protected]> | 2021-04-29 09:05:32 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2021-04-29 09:05:32 +0200 |
| commit | 7b9460e770b5fa5f53b1748dc82ddd664d7129af (patch) | |
| tree | d754dd49f05685460c8fb2635068b35953cca3ce /patch/stacker.c | |
| parent | 77c45afe4860b2792b680f7dc1f6830fce6de2c8 (diff) | |
| download | dwm-flexipatch-7b9460e770b5fa5f53b1748dc82ddd664d7129af.tar.gz dwm-flexipatch-7b9460e770b5fa5f53b1748dc82ddd664d7129af.zip | |
fakefullscreenclient + stacker: fix for allowing focusstack when client is in fake fullscreen (issue introduced by alwaysfullscreen being merged upstream
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 |
