mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 11:26:37 +00:00
fix(mouse): statusline click registered as statuscolumn (#21748)
fix(statuscolumn): statusline click registered as statuscolumn Problem: Status line click is registered as status status column click. Solution: Check that mouse is not on the status line. Resolve https://github.com/luukvbaal/statuscol.nvim/issues/4.
This commit is contained in:
@@ -1110,7 +1110,7 @@ retnomove:
|
||||
? wp->w_winbar_height != 0
|
||||
: false;
|
||||
|
||||
on_statuscol = (grid == (col < win_col_off(wp)))
|
||||
on_statuscol = !on_status_line && !on_winbar && col < win_col_off(wp)
|
||||
? *wp->w_p_stc != NUL
|
||||
: false;
|
||||
|
||||
|
Reference in New Issue
Block a user