Commit 31a25807 authored by Havoc Pennington's avatar Havoc Pennington Committed by Havoc Pennington

Process updates immediately, to prevent funny lag effect when scrolling,

2001-06-04  Havoc Pennington  <hp@redhat.com>

	* gtk/gtkrange.c (gtk_range_adjustment_value_changed):
	Process updates immediately, to prevent funny lag effect
	when scrolling, at some mild potential efficiency cost.
parent cfdca30c
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_adjustment_value_changed):
Process updates immediately, to prevent funny lag effect
when scrolling, at some mild potential efficiency cost.
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_button_press): on middle click, center
......
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_adjustment_value_changed):
Process updates immediately, to prevent funny lag effect
when scrolling, at some mild potential efficiency cost.
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_button_press): on middle click, center
......
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_adjustment_value_changed):
Process updates immediately, to prevent funny lag effect
when scrolling, at some mild potential efficiency cost.
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_button_press): on middle click, center
......
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_adjustment_value_changed):
Process updates immediately, to prevent funny lag effect
when scrolling, at some mild potential efficiency cost.
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_button_press): on middle click, center
......
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_adjustment_value_changed):
Process updates immediately, to prevent funny lag effect
when scrolling, at some mild potential efficiency cost.
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_button_press): on middle click, center
......
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_adjustment_value_changed):
Process updates immediately, to prevent funny lag effect
when scrolling, at some mild potential efficiency cost.
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_button_press): on middle click, center
......
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_adjustment_value_changed):
Process updates immediately, to prevent funny lag effect
when scrolling, at some mild potential efficiency cost.
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_button_press): on middle click, center
......
......@@ -1171,8 +1171,12 @@ gtk_range_adjustment_value_changed (GtkAdjustment *adjustment,
range = GTK_RANGE (data);
range->need_recalc = TRUE;
gtk_widget_queue_draw (GTK_WIDGET (range));
gtk_widget_queue_draw (GTK_WIDGET (range));
/* This is so we don't lag the widget being scrolled. */
if (GTK_WIDGET_REALIZED (range))
gdk_window_process_updates (GTK_WIDGET (range)->window, TRUE);
/* Note that we don't round off to range->round_digits here.
* that's because it's really broken to change a value
* in response to a change signal on that value; round_digits
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment