Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!ukma!nrl-cmf!ames!ucbcad!ucbvax!ATHENA.MIT.EDU!swick From: swick@ATHENA.MIT.EDU (Ralph R. Swick) Newsgroups: comp.windows.x Subject: Re: hacking on uwm (V11) Message-ID: <8711241936.AA19262@LYRE.MIT.EDU> Date: Tue, 24-Nov-87 14:36:04 EST Article-I.D.: LYRE.8711241936.AA19262 Posted: Tue Nov 24 14:36:04 1987 Date-Received: Sat, 28-Nov-87 05:48:48 EST References: <6037@jade.BERKELEY.EDU> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 14 FocusIn/Out events are generated only when the focus changes. The 'default' behavior of keyboard events going to the window containing the pointer is actually PointerRoot focus. Since the focus hasn't actually changed when the pointer moves, there are no events. EnterNotify is the way to go. You can select this on each of the client windows when you get the MapRequest; no need to re-parent. You will have to be careful when you have both titlebars and autoraise (you no longer want EnterNotify on the children). You'll also have to be careful about the `oscillating menu syndrome' which will occur when you map the uwm menu. Glad you're doing this; I had started many months ago but quickly got higher-priority things to do.