Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!ucsd!ucbvax!bloom-beacon!LARRY.MCRCIM.MCGILL.EDU!mouse From: mouse@LARRY.MCRCIM.MCGILL.EDU Newsgroups: comp.windows.x Subject: Re: Resize and expose event in Xt Message-ID: <9010130358.AA11381@Larry.McRCIM.McGill.EDU> Date: 13 Oct 90 03:58:08 GMT Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Lines: 20 > I have an Xt program that check for resize and expose events. As I > understand it, one or more expose event should follow a resize event > and this is exactly what happens in Xlib. Not necessarily; if a window is shrunk you will not necessarily get an Expose. After all, no part of the window is visible that wasn't visible before. (Why did you get such an event before? I can only guess; I would guess something strange in the window manager you're using is causing the window to be moved around for small periods of time during the resize operation, and this is causing the Expose. Why this would go away when you start using Xt is anybody's guess, though it may have something to do with windwo-manager hint properties Xt puts on the window that you weren't giving when you used Xlib. It's also possible that Xt turns on backing-store for you, and this may be related.) der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu