fix bug when remove all traces : the 1Xlength was not cleared to black
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sun, 8 Aug 2004 15:43:57 +0000 (15:43 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sun, 8 Aug 2004 15:43:57 +0000 (15:43 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@678 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c

index 13c1e296280ffc50a95a99858f2a932376d5dafb..2b7efbc927c9797cb945c9740f0bab855b49dc6c 100644 (file)
@@ -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;
 }
This page took 0.034944 seconds and 4 git commands to generate.