mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-05 13:29:54 -05:00
feat: add option view_current_to_back
This commit is contained in:
parent
60726becd9
commit
fa28568cec
3 changed files with 7 additions and 3 deletions
|
|
@ -2,7 +2,7 @@ void bind_to_view(const Arg *arg) {
|
|||
|
||||
unsigned int target = arg->ui;
|
||||
|
||||
if (selmon->pertag->curtag &&
|
||||
if (view_current_to_back && selmon->pertag->curtag &&
|
||||
(target & TAGMASK) == (selmon->tagset[selmon->seltags])) {
|
||||
if (selmon->pertag->prevtag)
|
||||
target = 1 << (selmon->pertag->prevtag - 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue