parent
92ccabaafd
commit
a6bc2ea7c3
1
ui.c
1
ui.c
|
@ -797,6 +797,7 @@ static void windowClose(size_t num) {
|
||||||
if (windows.swap >= num) windows.swap--;
|
if (windows.swap >= num) windows.swap--;
|
||||||
if (windows.show == num) {
|
if (windows.show == num) {
|
||||||
windowShow(windows.swap);
|
windowShow(windows.swap);
|
||||||
|
windows.swap = windows.show;
|
||||||
} else if (windows.show > num) {
|
} else if (windows.show > num) {
|
||||||
windows.show--;
|
windows.show--;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue