[goocanvas] 2010-10-24 Damon Chaplin <damon gnome org>
- From: Damon Chaplin <damon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goocanvas] 2010-10-24 Damon Chaplin <damon gnome org>
- Date: Sun, 24 Oct 2010 16:46:47 +0000 (UTC)
commit b55d6bafbe5c5ba292ee50c5a03bb0920ae6ebce
Author: Damon Chaplin <damon gnome org>
Date: Sun Oct 24 17:46:45 2010 +0100
2010-10-24 Damon Chaplin <damon gnome org>
* src/goocanvas.c (redraw_static_items_at_position)
(goo_canvas_adjustment_value_changed): comment out the calls to
gdk_window_process_updates() as they cause flickering when zooming.
I'm not sure if we should use something else instead.
ChangeLog | 7 +++++++
src/goocanvas.c | 6 ++++--
2 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 45f5257..3f6283e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2010-10-24 Damon Chaplin <damon gnome org>
+ * src/goocanvas.c (redraw_static_items_at_position)
+ (goo_canvas_adjustment_value_changed): comment out the calls to
+ gdk_window_process_updates() as they cause flickering when zooming.
+ I'm not sure if we should use something else instead.
+
+2010-10-24 Damon Chaplin <damon gnome org>
+
* Released GooCanvas 1.90.1
2010-10-24 Damon Chaplin <damon gnome org>
diff --git a/src/goocanvas.c b/src/goocanvas.c
index 749cc8c..b653969 100644
--- a/src/goocanvas.c
+++ b/src/goocanvas.c
@@ -1794,7 +1794,8 @@ redraw_static_items_at_position (GooCanvas *canvas,
priv->static_window_x = x;
priv->static_window_y = y;
- gdk_window_process_updates (canvas->canvas_window, TRUE);
+ /* FIXME: This causes flicker. Do we need it? */
+ /*gdk_window_process_updates (canvas->canvas_window, TRUE);*/
/* Now reset the window position. */
priv->static_window_x = window_x_copy;
@@ -2054,7 +2055,8 @@ goo_canvas_adjustment_value_changed (GtkAdjustment *adjustment,
else
{
/* Process updates here for smoother scrolling. */
- gdk_window_process_updates (canvas->canvas_window, TRUE);
+ /* FIXME: This causes flicker. Do we need it? */
+ /*gdk_window_process_updates (canvas->canvas_window, TRUE);*/
/* Now ensure the static items are redrawn in their new position. */
redraw_static_items_at_position (canvas, priv->window_x,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]