From 5923eed2cfce3d15529f43b3cee47787bf4b6ee7 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Tue, 25 Jul 2017 14:52:10 +0200 Subject: Gtk+-3.20 all themes: fix redraw issue with yelp Displaying the scrollbar buttons on horizontal scrollbar in yelp causes redraws. Disable the back/forward stepper fixes this. Probably a issue with webkitgtk4 or yelp itself --- desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'desktop-themes/GreenLaguna/gtk-3.0') diff --git a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css index a0083ce7..11a4c3bf 100644 --- a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css @@ -2076,6 +2076,21 @@ scrollbar { -GtkScrolledWindow-scrollbar-spacing: 0; } +/* workarround for broken yelp, w/o that yelp window have redraw issues + for displaying the horizontal scrollbar, + probably an issue with webkitgtk4 or yelp */ +scrollbar.horizontal { + -GtkScrollbar-has-backward-stepper: false; + -GtkScrollbar-has-forward-stepper: false; + +} +/* override for normal applications */ +scrolledwindow > scrollbar.horizontal { + -GtkScrollbar-has-backward-stepper: true; + -GtkScrollbar-has-forward-stepper: true; + +} + scrollbar.vertical { border-width: 0px; min-width: 10px; -- cgit v1.2.1