]> git.eshelyaron.com Git - emacs.git/commit
Implement customization of scroll bar colors on GTK 3
authorPo Lu <luangruo@yahoo.com>
Fri, 11 Mar 2022 12:07:52 +0000 (20:07 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 11 Mar 2022 12:10:23 +0000 (20:10 +0800)
commit7ad1df5e1684532efeec435be4ac7fc76affc814
treee1fa68133b3802e1810440358f1327b3c115e608
parent92ebfe7da4af5c60d33538d3526ef06d2a0142c4
Implement customization of scroll bar colors on GTK 3

* src/gtkutil.c (xg_create_frame_widgets): Create CSS providers
for scroll bars.
(xg_finish_scroll_bar_creation): Attach created CSS providers.
* src/xfns.c (x_set_scroll_bar_foreground):
(x_set_scroll_bar_background): Put appropriate content into CSS
providers.
* src/xterm.c (x_free_frame_resources): Free CSS providers.
* src/xterm.h (struct x_output): New fields for scroll bar
stylesheet providers.
src/gtkutil.c
src/xfns.c
src/xterm.c
src/xterm.h