Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!husc6!cfa!cfa250!mvh From: mvh@cfa250.harvard.edu (Mike VanHilst B-441 x57260) Newsgroups: comp.windows.x Subject: Getting window manager's decision Keywords: window manager Message-ID: <1519@cfa241.cfa250.harvard.edu> Date: 1 May 89 00:33:17 GMT Distribution: na Organization: Harvard/Smithsonian Center for Astrophysics Lines: 15 Is there any way to get the window manager's decision as regards an attempt to place a window without actually mapping the window. I have an image processing application with several windows, not all of which are normally mapped. I need to know the size of the windows for allocating buffers and computing their contents. I would prefer not to do the computation at the time the user requests the window as that slows the response (I am prepared to recompute the contents in response to a ConfigureNotify). My current method is to map all the windows and wait for the expose events to learn what size they actually end up being. Then those I don't want initially mapped get unmapped. The result is windows appearing, with some disappearing and others remaining empty while their contents are computed. Is there a more aesthetic approach to this problem? Thanks, Mike VanHilst