opt: fix tagsel toggle

This commit is contained in:
DreamMaoMao committed 2025-08-29 19:06:08 +08:00
1 parent 04f1d97733
commit 1f77e58baf
2 files changed
+16 -5

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ void bind_to_view(const Arg *arg) {
}
if (target == 0 || (int)target == INT_MIN) {
view(&(Arg){.ui = ~0}, false);
view(&(Arg){.ui = ~0 & TAGMASK}, false);
} else {
view(&(Arg){.ui = target}, true);
}