summaryrefslogtreecommitdiff
path: root/meta/packages/gtk+/gtk+-2.10.12/range-no-redraw.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gtk+/gtk+-2.10.12/range-no-redraw.patch')
-rw-r--r--meta/packages/gtk+/gtk+-2.10.12/range-no-redraw.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/packages/gtk+/gtk+-2.10.12/range-no-redraw.patch b/meta/packages/gtk+/gtk+-2.10.12/range-no-redraw.patch
new file mode 100644
index 000000000..384d71b4f
--- /dev/null
+++ b/meta/packages/gtk+/gtk+-2.10.12/range-no-redraw.patch
@@ -0,0 +1,17 @@
+Index: gtk/gtkrange.c
+===================================================================
+--- gtk/gtkrange.c (revision 18523)
++++ gtk/gtkrange.c (working copy)
+@@ -1979,8 +1979,12 @@
+ gtk_widget_queue_draw (GTK_WIDGET (range));
+
+ /* This is so we don't lag the widget being scrolled. */
++#if 0
++ /* Disable this, the scroll bar lags a bit but the end result is that
++ scrolling treeviews is *a lot* smoother. See GNOME #460534. */
+ if (GTK_WIDGET_REALIZED (range))
+ gdk_window_process_updates (GTK_WIDGET (range)->window, FALSE);
++#endif
+ }
+
+ /* Note that we don't round off to range->round_digits here.