]> git.eshelyaron.com Git - emacs.git/commit
Reduce code duplication in XI scroll bar code
authorPo Lu <luangruo@yahoo.com>
Thu, 4 Aug 2022 05:58:42 +0000 (13:58 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 4 Aug 2022 05:59:27 +0000 (13:59 +0800)
commitd6dbaecb2e02cef677462bfdae3228c9b8b46b12
treeb82e87e2ae4b0133df806c93312274cc8b2f96fa
parent4ebdc558f62a4cb5101490e11b7f746d651c513a
Reduce code duplication in XI scroll bar code

* src/xterm.c (xi_select_scroll_bar_events): New function.
(x_create_toolkit_scroll_bar)
(x_create_horizontal_toolkit_scroll_bar, x_scroll_bar_create):
Factor out input extension code there.
src/xterm.c