diff options
author | Po Lu <luangruo@yahoo.com> | 2022-03-12 20:33:18 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-03-12 20:44:35 +0800 |
commit | 82a454915ca2f162794812c5d9d668ec15b50372 (patch) | |
tree | 8b1e0ea1594d451e6a5b18b8bbec1ca9579678c6 /src/eval.c | |
parent | 3af12cb8f20d93a3fdbebe2e3b987948e8228f03 (diff) | |
download | emacs-82a454915ca2f162794812c5d9d668ec15b50372.tar.gz emacs-82a454915ca2f162794812c5d9d668ec15b50372.tar.bz2 emacs-82a454915ca2f162794812c5d9d668ec15b50372.zip |
Try really hard to make GTK 3 scroll bars fit
* src/gtkutil.c (xg_get_widget_from_map): New argument DISPLAY.
All callers changed.
(find_scrollbar_cb): New function.
(xg_finish_scroll_bar_creation, xg_remove_scroll_bar)
(xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos)
(xg_set_toolkit_scroll_bar_thumb)
(xg_set_toolkit_horizontal_scroll_bar_thumb, xg_initialize):
Stop using id_to_widget_map on X builds with GTK 3 and set the
event box as the x_window instead.
* src/xterm.c (x_window_to_scroll_bar): Don't look for ID on GTK
3.
(handle_one_xevent): If a ConfigureNotify event is found for a
scroll bar and the dimensions are wrong, resize the X window to
the right ones.
Diffstat (limited to 'src/eval.c')
0 files changed, 0 insertions, 0 deletions