From 49217bd422d9fed609bccf93d5ea67440ee2678a Mon Sep 17 00:00:00 2001 From: compudj Date: Wed, 11 Aug 2004 21:08:50 +0000 Subject: [PATCH] add drawing clear upon redraw, fun feature git-svn-id: http://ltt.polymtl.ca/svn@704 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; } -- 2.34.1