mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.4984: dragging statusline fails for window with winbar
Problem: Dragging statusline fails for window with winbar. Solution: Fix off-by-one error. (closes #10448)
This commit is contained in:
@@ -1823,7 +1823,7 @@ retnomove:
|
||||
if (dragwin != NULL)
|
||||
{
|
||||
// Drag the status line
|
||||
count = row - dragwin->w_winrow - dragwin->w_height + 1
|
||||
count = row - W_WINROW(dragwin) - dragwin->w_height + 1
|
||||
- on_status_line;
|
||||
win_drag_status_line(dragwin, count);
|
||||
did_drag |= count;
|
||||
|
Reference in New Issue
Block a user