Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!news.cs.indiana.edu!ux1.cso.uiuc.edu!uiucdcs!carroll From: carroll@cs.uiuc.edu (Alan M. Carroll) Newsgroups: comp.windows.x Subject: Re: ICCCM question on InputFocus Message-ID: <1990Dec19.170619.19570@ux1.cso.uiuc.edu> Date: 19 Dec 90 17:06:19 GMT References: <9012190749.AA03861@Larry.McRCIM.McGill.EDU> Sender: news@ux1.cso.uiuc.edu (News) Reply-To: carroll@cs.uiuc.edu (Alan M. Carroll) Organization: Technophiles Inc. - Engineers with Attitude Lines: 22 In article <9012190749.AA03861@Larry.McRCIM.McGill.EDU>, mouse@LARRY.MCRCIM.MCGILL.EDU writes: > > I have an application with multiple documents, and I need some way of > > determining which document is "current". Users make documents > > current by clicking on them on the Mac. The X equivalent seems to be > > FocusIn events, > > Depending on precisely what you want, the equivalent is either > ButtonPress or FocusIn. If you want to choose among multiple top-level > windows, I would recommend FocusIn. > I don't think that that's sufficient. Epoch faces this problem also, and in order for things to work (mostly) right, it is necessary to track both focus events and window transition events. I think that this is a serious problem that is simply not addressed under the current X windows conventions. -- Alan M. Carroll "It's psychosomatic. You need a lobotomy. Epoch Development Team I'll get a saw." CS Grad / U of Ill @ Urbana ...{ucbvax,pur-ee,convex}!cs.uiuc.edu!carroll