From d9267eec3ce20e65ce581ba46f3b2115f55cb297 Mon Sep 17 00:00:00 2001 From: compudj Date: Sun, 8 Aug 2004 15:43:57 +0000 Subject: [PATCH] fix bug when remove all traces : the 1Xlength was not cleared to black git-svn-id: http://ltt.polymtl.ca/svn@678 04897980-b3bd-0310-b5e0-8ef037075253 --- .../poly/lttv/modules/gui/controlflow/eventhooks.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c b/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c index 13c1e296..2b7efbc9 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c @@ -1987,12 +1987,15 @@ gint traceset_notify(void *hook_data, void *call_data) Drawing_t *drawing = control_flow_data->drawing; GtkWidget *widget = drawing->drawing_area; - drawing->damage_begin = 0; - drawing->damage_end = drawing->width; drawing_clear(control_flow_data->drawing); processlist_clear(control_flow_data->process_list); + redraw_notify(control_flow_data, NULL); + request_background_data(control_flow_data); +#if 0 + drawing->damage_begin = 0; + drawing->damage_end = drawing->width; if(drawing->damage_begin < drawing->damage_end) { drawing_data_request(drawing, @@ -2007,8 +2010,7 @@ gint traceset_notify(void *hook_data, void *call_data) 0,0, drawing->width, drawing->height); - - request_background_data(control_flow_data); +#endif //0 return FALSE; } -- 2.34.1