Fix bug: changes to size of window were being ignored because
authorChris Hanson <org/chris-hanson/cph>
Wed, 16 Nov 2005 04:00:16 +0000 (04:00 +0000)
committerChris Hanson <org/chris-hanson/cph>
Wed, 16 Nov 2005 04:00:16 +0000 (04:00 +0000)
they were being delivered in non-synthetic ConfigureNotify events.

v7/src/microcode/x11base.c

index c1f35a1a311b4c8f9af038cf1d1eab8288b08e1b..b5bcf686c183eeef1b05fbf0cba1c6450ca4ee35 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Id: x11base.c,v 1.84 2005/11/15 00:33:51 cph Exp $
+$Id: x11base.c,v 1.85 2005/11/16 04:00:16 cph Exp $
 
 Copyright 1989,1990,1991,1992,1993,1994 Massachusetts Institute of Technology
 Copyright 1995,1996,1997,1998,2000,2001 Massachusetts Institute of Technology
@@ -939,12 +939,11 @@ xw_process_event (struct xwindow * xw, XEvent * event)
          break;
 
        case ConfigureNotify:
-         /* If the window has been reparented, ignore non-synthetic
-            events.  */
-         if ((get_wm_decor_geometry (xw))
-             && (! ((event->xconfigure) . send_event)))
-           return (1);
-         if (XW_CHECK_EXPECTED_MOVE_P (xw))
+         /* If the window has been reparented, don't check
+            non-synthetic events.  */
+         if ((XW_CHECK_EXPECTED_MOVE_P (xw))
+             && (! ((get_wm_decor_geometry (xw))
+                    && (! ((event->xconfigure) . send_event)))))
            check_expected_move (xw);
          break;
        }