diff src/gutter.c @ 639:4b7d425dd3c2

[xemacs-hg @ 2001-07-28 05:08:58 by andyp] Stop flickering on OpenMotif.
author andyp
date Sat, 28 Jul 2001 05:09:03 +0000
parents af57a77cbc92
children fdefd0186b75
line wrap: on
line diff
--- a/src/gutter.c	Thu Jul 26 21:10:48 2001 +0000
+++ b/src/gutter.c	Sat Jul 28 05:09:03 2001 +0000
@@ -424,7 +424,10 @@
       (f->extents_changed && w->gutter_extent_modiff[pos]))
     {
 #ifdef DEBUG_GUTTERS
-      printf ("gutter redisplay [%dx%d@%d+%d] triggered by %s,\n", 
+      stderr_out ("gutter redisplay [%s %dx%d@%d+%d] triggered by %s,\n", 
+	      pos == TOP_GUTTER ? "TOP" :
+	      pos == BOTTOM_GUTTER ? "BOTTOM" :
+	      pos == LEFT_GUTTER ? "LEFT" : "RIGHT",
 	      width, height, x, y, force ? "force" :
 	      f->faces_changed ? "f->faces_changed" :
 	      f->frame_changed ? "f->frame_changed" :
@@ -671,7 +674,7 @@
     return;
 
 #ifdef DEBUG_WIDGETS
-  printf ("redrawing gutter after expose %d+%d, %dx%d\n",
+  stderr_out ("redrawing gutter after expose %d+%d, %dx%d\n",
 	  x, y, width, height);
 #endif
   /* #### optimize this - redrawing the whole gutter for every expose