add drawing clear upon redraw, fun feature
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 11 Aug 2004 21:08:50 +0000 (21:08 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 11 Aug 2004 21:08:50 +0000 (21:08 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@704 04897980-b3bd-0310-b5e0-8ef037075253

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

index 84b5ff36e6c784ce9828ede89128d575e252f931..51c8d7245777a6d9713330c510c68e937f6c733d 100644 (file)
@@ -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;
 
 }
This page took 0.026348 seconds and 4 git commands to generate.