From: compudj Date: Wed, 11 Aug 2004 21:08:50 +0000 (+0000) Subject: add drawing clear upon redraw, fun feature X-Git-Tag: v0.12.20~2785 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=49217bd422d9fed609bccf93d5ea67440ee2678a;p=lttv.git add drawing clear upon redraw, fun feature git-svn-id: http://ltt.polymtl.ca/svn@704 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 84b5ff36..51c8d724 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c @@ -2144,7 +2144,11 @@ gint redraw_notify(void *hook_data, void *call_data) drawing->damage_begin = 0; drawing->damage_end = drawing->width; + /* fun feature, to be separated someday... */ + drawing_clear(control_flow_data->drawing); + processlist_clear(control_flow_data->process_list); +#if 0 /* normal redraw, without removing PIDs */ // Clear the image gdk_draw_rectangle (drawing->pixmap, widget->style->black_gc, @@ -2168,7 +2172,7 @@ gint redraw_notify(void *hook_data, void *call_data) 0,0, drawing->width, drawing->height); - +#endif //0 return FALSE; }