diff options
Diffstat (limited to 'meta/packages/gtk+/gtk+-2.6.10/range-no-redraw.patch')
-rw-r--r-- | meta/packages/gtk+/gtk+-2.6.10/range-no-redraw.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/packages/gtk+/gtk+-2.6.10/range-no-redraw.patch b/meta/packages/gtk+/gtk+-2.6.10/range-no-redraw.patch new file mode 100644 index 0000000000..d168712282 --- /dev/null +++ b/meta/packages/gtk+/gtk+-2.6.10/range-no-redraw.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | Index: gtk/gtkrange.c | ||
2 | =================================================================== | ||
3 | --- gtk/gtkrange.c (revision 18542) | ||
4 | +++ gtk/gtkrange.c (working copy) | ||
5 | @@ -1569,9 +1569,12 @@ | ||
6 | |||
7 | gtk_widget_queue_draw (GTK_WIDGET (range)); | ||
8 | /* This is so we don't lag the widget being scrolled. */ | ||
9 | +#if 0 | ||
10 | + /* Disable this, the scroll bar lags a bit but the end result is that | ||
11 | + scrolling treeviews is *a lot* smoother. See GNOME #460534. */ | ||
12 | if (GTK_WIDGET_REALIZED (range)) | ||
13 | gdk_window_process_updates (GTK_WIDGET (range)->window, FALSE); | ||
14 | - | ||
15 | +#endif | ||
16 | /* Note that we don't round off to range->round_digits here. | ||
17 | * that's because it's really broken to change a value | ||
18 | * in response to a change signal on that value; round_digits | ||