Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!haven!uvaarpa!mcnc!pickel From: pickel@mcnc.org (Lisa C. Pickel) Newsgroups: comp.windows.x Subject: How to Pause After XCreateWindow? Keywords: XCreateWindow XGetWindowAttributes Message-ID: <4188@alvin.mcnc.org> Date: 14 Mar 89 20:17:16 GMT Distribution: usa Organization: Microelectronics Center of NC; RTP, NC Lines: 19 In the days of X10, I used XCreate to start a window. This function apparently paused while the window manager allowed to user to size the window. I then called XQueryWindow to get the size of the window. Unfortunately, I cannot seem to mimic this behavior with X11. The problem is that I call XCreateWindow, but it doesn't pause. My application speeds right along, eventually calling XGetWindowAttributes BEFORE I've placed and sized the new window. Thus, the values I get back are quite possibly garbage since they refer to the default values for my window. How do I fix this? I've tried doing XFlush-es, XSync-s, even XMapRaised. I've tried messing with override-retry or some such thing. My apologies for this question as I bet it's been asked before. Lisa. pickel@mcnc.org decvax!mcnc!pickel