opt: view ~0 should effect by view_current_to_back

This commit is contained in:
DreamMaoMao 2025-09-15 17:02:50 +08:00
parent d228a9b8a0
commit 7cb2279021

View file

@ -11,7 +11,7 @@ void bind_to_view(const Arg *arg) {
}
if ((int)target == INT_MIN && selmon->pertag->curtag == 0) {
if (selmon->pertag->prevtag)
if (view_current_to_back && selmon->pertag->prevtag)
target = 1 << (selmon->pertag->prevtag - 1);
else
target = 0;