Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!cornell!uw-beaver!mit-eddie!bloom-beacon!ZERMATT.LCS.MIT.EDU!RWS
From: RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler)
Newsgroups: comp.windows.x
Subject: xset m accl. theres. and XNextEvent (MotionNotify)
Message-ID: <19880628171755.3.RWS@KILLINGTON.LCS.MIT.EDU>
Date: 28 Jun 88 17:17:00 GMT
References: <463@ole.UUCP>
Sender: daemon@bloom-beacon.MIT.EDU
Organization: The Internet
Lines: 33


    Date: 27 Jun 88 17:22:46 GMT
    From: tikal!ole!powell@beaver.cs.washington.edu  (Gary Powell)

    Q: When I do a resize of a window I first get a Expose event then a Configure
       event.  shouldn't I only get the Configure event.

You don't say which window manager you are using.  For example, uwm tends to
place this little resize box over your window, and when uwm unmaps it you
will get an Expose event.  If you are using a reparenting window manager,
then you get an "extraneous" Expose event when the window manager frame
is resized; this is a known deficiency in the MIT servers.

       After resizing process..(I re-paint the window) I get an Expose event again.

Right.  That's the real Expose event.

       I did try setting the CWBackingStore flag and my server ignored it.

Right.  Again, known deficiency in the MIT servers.

       The window manager must be doing the save for moving of the window

The server does this.

    Q: When I Create a window I get an Expose and a Configure event. I check the
       the relative size and it of course hasn't changed so I don't do a re-size.
       But I shouldn't need an Expose event after all I just got thru painting the
       stuff into the window. (I'm not overlapped at any time.)

You don't know that you won't be overlapped at any time.  You should be
repainting on Expose events, not on Configure or Map events.  You should
use Configure events simply to cache size information and adjust internal
databases.