[vim/vim] fix(gtk): scrollbar prevents WinScrolled, refocus gui (PR #20517)

0 views
Skip to first unread message

dezza

unread,
12:26 AM (2 hours ago) 12:26 AM
to vim/vim, Subscribed

WinScrolled is one of the latest events Bram did.

I simply think the gui was never considered.

I can't see any reason why the scrollbars in gui should not trigger WinScrolled, they follow the window that is focused - which aligns with both function and intention.

Therefore refocus the gui once scrollbar is dragged, which triggers WinScrolled timely as gui scrollbar is scrolled - instead of delaying until pressing inside gui.drawarea (buffer).

cc @mattn (for gtk4 notes)


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/20517

Commit Summary

  • 747caf8 fix(gtk3): scrollbar prevents WinScrolled, refocus gui

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20517@github.com>

Reply all
Reply to author
Forward
0 new messages