From 15f77e3bc50b6d125e487b5dc87ceafd25339e53 Mon Sep 17 00:00:00 2001 From: compudj Date: Wed, 14 Sep 2005 20:20:24 +0000 Subject: [PATCH] update the cfv faster git-svn-id: http://ltt.polymtl.ca/svn@1184 04897980-b3bd-0310-b5e0-8ef037075253 --- .../poly/lttv/modules/gui/controlflow/eventhooks.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c b/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c index 05e3f43e..72986339 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c @@ -1914,8 +1914,10 @@ gint update_time_window_hook(void *hook_data, void *call_data) control_flow_data->drawing->height); } + /* Update directly when scrolling */ + gdk_window_process_updates(control_flow_data->drawing->drawing_area->window, + TRUE); - return 0; } @@ -2076,8 +2078,11 @@ gint update_current_time_hook(void *hook_data, void *call_data) } gtk_widget_queue_draw(control_flow_data->drawing->drawing_area); - + /* Update directly when scrolling */ + gdk_window_process_updates(control_flow_data->drawing->drawing_area->window, + TRUE); + return 0; } -- 2.34.1