Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!olivea!apple!voder!zok!wattres!steve From: steve@wattres.uucp (Steve Watt) Newsgroups: comp.windows.x.motif Subject: Application Modal Focus & mwm Summary: keyboard focus, again?!? Message-ID: <1991Jan9.094339.1683@wattres.uucp> Date: 9 Jan 91 09:43:39 GMT Reply-To: steve@wattres.UUCP (Steve Watt) Organization: Steven Watt, Consultant Lines: 25 I have had several requests from various users on how to do this, but I'm not sure it's possible... The scenario: Joe Luser has the keyboard focus policy set to pointer, and he/she runs an application (mine) that has a few modal dialog boxes. Whenever one of the dialogs comes up, he/she has to move the pointer into the box to answer the prompt. The desired semantic is more like this: If there is one application modal dialog up, when the pointer is in the main window, the focus is in the modal dialog. If there are multiple ones up, the focus is delivered as it currently is. I'm not sure if there are enough properties on the application modal windows for mwm to figure out what's going on, but it seems that this would be the nicest (and, unfortunately, more Presentation-Manager-like) way of doing things. Maybe the right answer is to use twm, since I hear it can do *everything*. Except interact exactly right with the Motif widget set... c'est la vie. -- Steve Watt ...!claris!wattres!steve wattres!steve@claris.com also works Never trust a computer bigger than you can lift.