Archived
opt: if view ~0, use prevtag layout
This commit is contained in:
1 parent
095af2b3c8
commit
fba0de2ea0
1 file changed
+4
-1
+4
-1
@@ -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) {
|
||||
m->pertag->ltidxs[m->pertag->curtag]->arrange(m);
|
||||
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);
|
||||
|
||||
Reference in new issue
Block a user