Sean Dewar
5866bc3a0f
patch 9.1.0175: wrong window positions with 'winfix{width,height}'
...
Problem: winframe functions incorrectly recompute window positions if
the altframe wasn't adjacent to the closed frame, which is
possible if adjacent windows had 'winfix{width,height}' set.
Solution: recompute for windows within the parent of the altframe and
closed frame. Skip this (as before) if the altframe was
top/left, but only if adjacent to the closed frame, as
positions won't change in that case. Also correct the return
value documentation for win_screenpos. (Sean Dewar)
The issue revealed itself after removing the win_comp_pos call below
winframe_restore in win_splitmove. Similarly, wrong positions could result from
windows closed in other tabpages, as win_free_mem uses winframe_remove (at least
until it is entered later, where enter_tabpage calls win_comp_pos).
NOTE: As win_comp_pos handles only curtab, it's possible via other means for
positions in non-current tabpages to be wrong (e.g: after changing 'laststatus',
'showtabline', etc.). Given enter_tabpage recomputes it, maybe it's intentional
as an optimization? Should probably be documented in win_screenpos then, but I
won't address that here.
closes : #14191
Signed-off-by: Sean Dewar <6256228+seandewar@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-03-13 20:17:24 +01:00
..
2024-01-02 16:51:11 +01:00
2024-01-25 23:07:00 +01:00
2024-03-13 20:17:24 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-02-12 20:24:56 +01:00
2024-01-02 16:51:11 +01:00
2022-07-30 12:03:16 +01:00
2020-01-21 22:13:42 +01:00
2024-01-14 21:02:54 +01:00
2024-02-08 11:23:22 +01:00
2023-08-31 18:03:11 +02:00
2023-08-31 18:03:11 +02:00
2020-05-31 14:25:22 +02:00
2020-05-31 14:25:22 +02:00
2024-01-02 16:51:11 +01:00
2024-02-25 08:42:52 +01:00
2024-01-02 16:51:11 +01:00
2024-02-25 08:42:52 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2021-06-27 15:18:56 +02:00
2022-02-26 12:25:45 +00:00
2024-01-01 20:50:51 +01:00
2024-02-25 08:42:52 +01:00
2024-01-23 23:19:02 +01:00
2024-01-30 23:37:41 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-02-25 08:42:52 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-02-29 18:13:04 +01:00
2024-01-23 20:34:28 +01:00
2024-01-05 18:19:52 +01:00
2024-01-25 22:44:00 +01:00
2023-11-11 19:26:00 +01:00
2024-01-22 20:42:44 +01:00
2024-01-22 20:42:44 +01:00
2020-05-26 21:20:45 +02:00
2024-01-14 19:24:05 +01:00
2024-02-25 08:42:52 +01:00
2024-01-02 16:51:11 +01:00
2024-03-05 20:39:07 +01:00
2024-01-02 16:51:11 +01:00
2024-01-04 22:11:33 +01:00
2024-01-02 16:51:11 +01:00
2024-03-11 15:13:16 +00:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-02-25 08:42:52 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2020-01-14 19:29:13 +01:00
2024-02-25 08:42:52 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-02-25 08:42:52 +01:00
2024-03-03 16:16:47 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-03-10 19:34:32 +01:00
2024-01-02 16:51:11 +01:00
2024-03-06 21:39:35 +01:00
2024-03-03 16:16:47 +01:00
2024-02-28 21:46:15 +01:00
2024-02-25 08:42:52 +01:00
2023-11-04 09:57:09 +01:00
2024-02-18 18:57:07 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-03-03 16:34:51 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-02-25 15:23:02 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-03-03 16:34:51 +01:00
2024-01-02 16:51:11 +01:00
2023-11-04 09:57:09 +01:00
2024-02-25 08:42:52 +01:00
2024-03-03 16:34:51 +01:00
2020-07-26 17:00:44 +02:00
2020-07-26 17:00:44 +02:00
2020-07-26 17:00:44 +02:00
2020-07-26 17:00:44 +02:00
2023-08-27 19:35:34 +02:00
2023-08-27 19:35:34 +02:00
2022-02-20 19:48:20 +00:00
2020-07-26 17:00:44 +02:00
2020-07-26 17:00:44 +02:00
2023-12-29 16:30:40 +01:00
2023-12-29 16:30:40 +01:00
2022-01-23 12:07:04 +00:00
2022-01-23 12:07:04 +00:00
2023-08-31 18:03:11 +02:00
2023-08-31 18:03:11 +02:00
2022-01-16 14:46:06 +00:00
2020-05-31 14:25:22 +02:00
2020-05-31 14:25:22 +02:00
2021-06-13 19:02:49 +02:00
2021-06-13 19:02:49 +02:00
2023-08-31 18:03:11 +02:00
2023-08-31 18:03:11 +02:00
2023-12-19 20:21:40 +01:00
2020-05-31 14:25:22 +02:00
2020-05-31 14:25:22 +02:00
2023-04-22 22:40:14 +01:00
2023-04-22 22:40:14 +01:00
2024-01-02 16:51:11 +01:00
2024-02-20 21:52:31 +01:00
2024-01-02 16:51:11 +01:00
2023-10-06 19:51:13 +02:00
2023-10-06 19:51:13 +02:00
2023-10-08 19:05:02 +02:00
2023-10-08 19:05:02 +02:00
2023-12-19 20:21:40 +01:00
2023-10-06 19:51:13 +02:00
2023-10-06 19:51:13 +02:00
2023-10-06 19:51:13 +02:00
2023-10-06 19:51:13 +02:00
2023-10-06 19:51:13 +02:00
2023-10-06 19:51:13 +02:00