mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
opt: if view ~0, use prevtag layout
This commit is contained in:
parent
095af2b3c8
commit
fba0de2ea0
1 changed files with 4 additions and 1 deletions
|
|
@ -1354,7 +1354,10 @@ arrange(Monitor *m, bool want_animation) {
|
|||
if (m->isoverview) {
|
||||
overviewlayout.arrange(m);
|
||||
} else if (m && m->pertag->ltidxs[m->pertag->curtag]->arrange) {
|
||||
if (m->pertag->curtag)
|
||||
m->pertag->ltidxs[m->pertag->curtag]->arrange(m);
|
||||
else
|
||||
m->pertag->ltidxs[m->pertag->prevtag]->arrange(m);
|
||||
}
|
||||
|
||||
motionnotify(0, NULL, 0, 0, 0, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue