? gimp_layer_mask_boundary.patch
? gui/about-dialog.c-orig
? vectors/TODO
? vectors/gimprectanglestroke.c
? vectors/gimprectanglestroke.h
Index: display/gimpdisplayshell-selection.c
===================================================================
RCS file: /cvs/gnome/gimp/app/display/gimpdisplayshell-selection.c,v
retrieving revision 1.44
diff -u -p -w -r1.44 gimpdisplayshell-selection.c
--- display/gimpdisplayshell-selection.c	26 Jan 2004 19:55:34 -0000	1.44
+++ display/gimpdisplayshell-selection.c	26 Oct 2004 11:54:43 -0000
@@ -28,6 +28,7 @@
 
 #include "core/gimp.h"
 #include "core/gimpchannel.h"
+#include "core/gimplayermask.h"
 #include "core/gimpimage.h"
 
 #include "gimpcanvas.h"
@@ -600,9 +601,11 @@ selection_start_marching (gpointer data)
   Selection         *select = (Selection *) data;
   GimpCanvas        *canvas;
   GimpDisplayConfig *config;
+  GimpDrawable      *active_drawable;
 
   canvas = GIMP_CANVAS (select->shell->canvas);
   config = GIMP_DISPLAY_CONFIG (select->shell->gdisp->gimage->gimp->config);
+  active_drawable = gimp_image_active_drawable (select->shell->gdisp->gimage);
 
   /*  if the RECALC bit is set, reprocess the boundaries  */
   if (select->recalc)
@@ -620,7 +623,9 @@ selection_start_marching (gpointer data)
   select->state = MARCHING;
 
   if (! select->layer_hidden && select->segs_layer)
-    gimp_canvas_draw_segments (canvas, GIMP_CANVAS_STYLE_LAYER_BOUNDARY,
+    gimp_canvas_draw_segments (canvas, GIMP_IS_LAYER_MASK (active_drawable) ?
+                                            GIMP_CANVAS_STYLE_GUIDE_ACTIVE:
+                                            GIMP_CANVAS_STYLE_LAYER_BOUNDARY,
                                select->segs_layer, select->num_segs_layer);
 
   /*  Draw the ants  */
