mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-06 03:01:52 -04:00
fix: exchange not work in vertical scroller
This commit is contained in:
parent
a11cf12f28
commit
bea689ca0c
1 changed files with 2 additions and 1 deletions
|
|
@ -5154,7 +5154,8 @@ void exchange_two_client(Client *c1, Client *c2) {
|
|||
const Layout *layout1 = m1->pertag->ltidxs[m1->pertag->curtag];
|
||||
const Layout *layout2 = m2->pertag->ltidxs[m2->pertag->curtag];
|
||||
|
||||
if (layout1->id == SCROLLER || layout2->id == SCROLLER) {
|
||||
if (layout1->id == SCROLLER || layout2->id == SCROLLER ||
|
||||
layout1->id == VERTICAL_SCROLLER || layout2->id == VERTICAL_SCROLLER) {
|
||||
exchange_two_scroller_clients(c1, c2);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue