Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!unmvax!ncar!boulder!stan!toml From: toml@Solbourne.COM (Tom LaStrange) Newsgroups: comp.windows.x Subject: Re: Intercepting key events by a window manager Message-ID: <1265@imelda.Solbourne.COM> Date: 24 May 89 18:03:40 GMT References: Distribution: comp Organization: Solbourne Computer Inc., Longmont, Co. Lines: 25 > Are there any window managers which currently will intercept key > events, a la NeWS or SunView (suntools-e being a better example of what > I want). For example, I want to bind f.focus to a key event much > the same way it can be bound to a button event. > > If this is dumb to even suggest such a thing for a window manager (I > don't think it is and what I've seen about X internals indicates to me > that it is a possibility) would someone please set me straight on the > issue? > If I understand you right, twm allows you to do such a thing. You could put something like "F1" = : window : f.raise in your .twmrc file, and when the F1 key is pressed while the pointer is in the client window, the window will be raised. It's not dumb, it's VERY useful, I couldn't get by without it. -- Tom LaStrange Solbourne Computer Inc. ARPA: toml@Solbourne.COM Longmont, CO UUCP: ...!{boulder,nbires,sun}!stan!toml