From: compudj Date: Sun, 8 Aug 2004 15:43:57 +0000 (+0000) Subject: fix bug when remove all traces : the 1Xlength was not cleared to black X-Git-Tag: v0.12.20~2811 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d9267eec3ce20e65ce581ba46f3b2115f55cb297;p=lttv.git 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 --- 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; }