From: compudj Date: Wed, 14 Sep 2005 20:20:24 +0000 (+0000) Subject: update the cfv faster X-Git-Tag: v0.12.20~2305 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=15f77e3bc50b6d125e487b5dc87ceafd25339e53;p=lttv.git update the cfv faster git-svn-id: http://ltt.polymtl.ca/svn@1184 04897980-b3bd-0310-b5e0-8ef037075253 --- 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; }