]> git.eshelyaron.com Git - emacs.git/commit
Improve reliaibility of scroll bar dimensions adjustment on GTK 3
authorPo Lu <luangruo@yahoo.com>
Sun, 13 Mar 2022 01:28:58 +0000 (09:28 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 13 Mar 2022 01:28:58 +0000 (09:28 +0800)
commite7ab69e762c10073e6c52b69ff5e83ad2c638803
tree13f1d68bb5525a649ea15b935fdd125452809312
parent49683652f8b7f3680b3bc76cfee39be0b8efd524
Improve reliaibility of scroll bar dimensions adjustment on GTK 3

* src/gtkutil.c (xg_scroll_bar_size_allocate_cb): New function.
(xg_finish_scroll_bar_creation): Attach new signal.
(xg_update_scrollbar_pos)
(xg_update_horizontal_scrollbar_pos): Also set window dimensions
for the event box.
* src/xterm.c (x_scroll_bar_configure): New function.
* src/xterm.h: Update prototypes.
src/gtkutil.c
src/xterm.c
src/xterm.h