Oops. This looks like the correct fix and is definitely my fault.
andy
At 12:00 AM 11/23/99 -0500, Mike Alexander wrote:
At 1:34 PM +0000 11/21/99, Paul Moore wrote:
>Hi,
>I'm relatively new to XEmacs, so apologies if this issue is already 
>known - I did search the archives and couldn't find an obvious
>reference...
>
>The native build of 21.2.20 on Win32 has a redraw bug. I checked 
>20.2.19, and the bug isn't in there, so it appeared between 19 and
>20.
>
>To demonstrate the bug, just start 21.2.20, and then immediately 
>drag the right hand edge of the window out. The newly exposed area
>doesn't redraw. Actually, it does redraw a few seconds later.
>
>I haven't any experience with the XEmacs sources, so I'm afraid I 
>don't know where to begin to look for a solution. Also, I haven't
>got CVS access set up, so I can't check whether it's been fixed since 20.
>
>Hope this is useful,
>Paul Moore.
I've noticed this too.  Here's a patch that makes resize work.  It 
probably isn't the right patch since I haven't spent much time 
figuring out how this code is supposed to work, but it does make 
resize work and it hasn't caused any crashes that I know of.  All I 
did was add size_changed to REDISPLAY_FLAGS.  It may need to go into 
RESET_CHANGED_FLAGS too, but it seems to work without that.
     Mike Alexander
Index: src/redisplay.h
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/src/redisplay.h,v
retrieving revision 1.7.2.14
diff -u -r1.7.2.14 redisplay.h
--- redisplay.h	1999/11/20 20:29:17	1.7.2.14
+++ redisplay.h	1999/11/23 04:35:25
@@ -526,7 +526,6 @@
  #define MARK_SUBWINDOWS_CHANGED MARK_TYPE_CHANGED (subwindows)
  #define MARK_SUBWINDOWS_STATE_CHANGED MARK_TYPE_CHANGED (subwindows_state)
-
  #define CLASS_RESET_CHANGED_FLAGS(p) do {	\
    (p)->buffers_changed = 0;			\
    (p)->clip_changed = 0;			\
@@ -575,6 +574,7 @@
      (p)->menubar_changed ||			\
      (p)->modeline_changed ||			\
      (p)->point_changed ||			\
+    (p)->size_changed ||			\
      (p)->toolbar_changed ||			\
      (p)->gutter_changed ||			\
      (p)->glyphs_changed ||			\
@@ -593,6 +593,7 @@
      menubar_changed ||				\
      modeline_changed ||				\
      point_changed ||				\
+    size_changed ||				\
      toolbar_changed ||				\
      gutter_changed ||				\
      glyphs_changed ||				\
 
--------------------------------------------------------------
Dr Andy Piper
Senior Consultant Architect, BEA Systems Ltd