Commit 61b73b8
committed
patch 9.1.1916: WinEnter autocommand confuses Vim when closing tabpage
Problem: WinEnter autocommand may confuse Vim when closing tabpage
(hokorobi)
Solution: Verify that curwin did not change in close_others()
fixes: #18722
closes: #18733
Signed-off-by: Christian Brabandt <[email protected]>1 parent fb8ebf1 commit 61b73b8
3 files changed
+34
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5537 | 5537 | | |
5538 | 5538 | | |
5539 | 5539 | | |
| 5540 | + | |
| 5541 | + | |
| 5542 | + | |
| 5543 | + | |
| 5544 | + | |
| 5545 | + | |
| 5546 | + | |
| 5547 | + | |
| 5548 | + | |
| 5549 | + | |
| 5550 | + | |
| 5551 | + | |
| 5552 | + | |
| 5553 | + | |
| 5554 | + | |
| 5555 | + | |
| 5556 | + | |
| 5557 | + | |
| 5558 | + | |
| 5559 | + | |
| 5560 | + | |
| 5561 | + | |
| 5562 | + | |
5540 | 5563 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
| 732 | + | |
| 733 | + | |
732 | 734 | | |
733 | 735 | | |
734 | 736 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4403 | 4403 | | |
4404 | 4404 | | |
4405 | 4405 | | |
| 4406 | + | |
4406 | 4407 | | |
4407 | 4408 | | |
4408 | 4409 | | |
| |||
4416 | 4417 | | |
4417 | 4418 | | |
4418 | 4419 | | |
| 4420 | + | |
| 4421 | + | |
| 4422 | + | |
| 4423 | + | |
| 4424 | + | |
| 4425 | + | |
| 4426 | + | |
| 4427 | + | |
4419 | 4428 | | |
4420 | 4429 | | |
4421 | 4430 | | |
| |||
0 commit comments