Commit 620c655
patch 9.1.1831: stray vseps in right-most 'winfixwidth' window
Problem: vertical separator of 'winfixwidth' windows may remain if they
become right-most windows from closing windows to the right.
Solution: Don't implicitly rely on frame_new_width to fix vseps, as the
call may be skipped for 'winfixwidth' windows to preserve
their width; do it explicitly in winframe_remove (Sean Dewar).
Note that I prefer win_new_width here over setting w_width directly, which
would've previously been done by win_split_ins after frame_add_vsep, as this
wasn't true for winframe_remove.
Though the equivalent issue of bottom 'winfixheight' windows leaving stray
statuslines with &ls=0 doesn't seem to exist, test it anyway.
closes: #18481
Signed-off-by: Sean Dewar <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>1 parent 3b3cb04 commit 620c655
File tree
5 files changed
+83
-9
lines changed- src
- testdir
- dumps
5 files changed
+83
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2305 | 2305 | | |
2306 | 2306 | | |
2307 | 2307 | | |
| 2308 | + | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
| 2313 | + | |
| 2314 | + | |
| 2315 | + | |
| 2316 | + | |
| 2317 | + | |
| 2318 | + | |
| 2319 | + | |
| 2320 | + | |
| 2321 | + | |
| 2322 | + | |
| 2323 | + | |
| 2324 | + | |
| 2325 | + | |
| 2326 | + | |
| 2327 | + | |
| 2328 | + | |
| 2329 | + | |
| 2330 | + | |
| 2331 | + | |
| 2332 | + | |
| 2333 | + | |
| 2334 | + | |
| 2335 | + | |
| 2336 | + | |
| 2337 | + | |
| 2338 | + | |
| 2339 | + | |
| 2340 | + | |
| 2341 | + | |
| 2342 | + | |
| 2343 | + | |
| 2344 | + | |
| 2345 | + | |
| 2346 | + | |
| 2347 | + | |
| 2348 | + | |
| 2349 | + | |
| 2350 | + | |
| 2351 | + | |
| 2352 | + | |
| 2353 | + | |
2308 | 2354 | | |
| 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 | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
1363 | 1363 | | |
1364 | 1364 | | |
1365 | 1365 | | |
1366 | | - | |
| 1366 | + | |
1367 | 1367 | | |
1368 | 1368 | | |
1369 | 1369 | | |
| |||
3577 | 3577 | | |
3578 | 3578 | | |
3579 | 3579 | | |
| 3580 | + | |
| 3581 | + | |
| 3582 | + | |
| 3583 | + | |
| 3584 | + | |
3580 | 3585 | | |
3581 | 3586 | | |
3582 | 3587 | | |
| |||
3742 | 3747 | | |
3743 | 3748 | | |
3744 | 3749 | | |
3745 | | - | |
| 3750 | + | |
3746 | 3751 | | |
3747 | 3752 | | |
3748 | 3753 | | |
| |||
4223 | 4228 | | |
4224 | 4229 | | |
4225 | 4230 | | |
4226 | | - | |
| 4231 | + | |
4227 | 4232 | | |
4228 | 4233 | | |
4229 | 4234 | | |
4230 | | - | |
| 4235 | + | |
4231 | 4236 | | |
4232 | 4237 | | |
4233 | 4238 | | |
4234 | 4239 | | |
4235 | 4240 | | |
4236 | 4241 | | |
4237 | | - | |
| 4242 | + | |
4238 | 4243 | | |
4239 | 4244 | | |
4240 | | - | |
| 4245 | + | |
4241 | 4246 | | |
4242 | 4247 | | |
| 4248 | + | |
| 4249 | + | |
| 4250 | + | |
| 4251 | + | |
| 4252 | + | |
4243 | 4253 | | |
4244 | 4254 | | |
4245 | 4255 | | |
4246 | 4256 | | |
4247 | 4257 | | |
4248 | | - | |
| 4258 | + | |
4249 | 4259 | | |
4250 | 4260 | | |
4251 | 4261 | | |
4252 | 4262 | | |
4253 | 4263 | | |
4254 | 4264 | | |
4255 | 4265 | | |
4256 | | - | |
| 4266 | + | |
4257 | 4267 | | |
4258 | 4268 | | |
4259 | 4269 | | |
| |||
0 commit comments