Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU Newsgroups: comp.windows.x Subject: Re: How to track window size changes (X11R3 *without* the Toolkit) Message-ID: <8905261855.AA02541@expire.lcs.mit.edu> Date: 26 May 89 18:55:48 GMT References: <1228@irisa.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 7 XSelectInput(dpy, win, ExposureMask | ResizeRedirectMask) You want StructureNotifyMask, not ResizeRedirectMask. Selecting for ResizeRedirectMask will tend to prevent the WM from resizing your window, unless your program handles the negotiation. To get the new dimensions, you should track the ConfigureNotify events that arrive.