🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #2098

Re: auto-raise vs auto-focus

#2098
From: Alan M. Carroll
Date: Thu, 14 Mar 1991 17:07
31 lines
1998 bytes
This is an un-official note, which means that it represents only my
personal opinion, and is not an actual statement from the Epoch
Development Team.

Mr. LaStrange and I have exchanged some email on this topic, and
basically the problem comes down to the fact that when a WM has a
passive grab on a key for an Epoch screen, pressing the key confuses
Epoch because the X server generates a FocusOut and then a FocusIn
event, even if the focus model is pointer driven (see 8.4.3.2, Xlib
reference). A possible fix would be to add code in x11term.c, around
line 1589, to have

	    case FocusOut :
		/* start of change */
		if (
		    (event.type == FocusOut || event.type == FocusIn)
		    && event.xfocus.mode != NotifyNormal
		   ) break;
		/* end of change */
		X_focus =


WARNING! This code has _not_ been tested, but due to the number of
complaints about this, I thought I'd post this for those who are X and
Emacs wizards. If anyone does try this, please send me email about the
results. Thanks.

-- 
Alan M. Carroll                "I hate shopping with the reality-impaired"
Epoch Development Team                 - Susan
CS Grad / U of Ill @ Urbana    ...{ucbvax,pur-ee,convex}!cs.uiuc.edu!carroll
Technical Details
Message-ID: <1991Mar14.170745.10780@m.cs.uiuc.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!maverick.ksu.ksu.edu!ux1.cso.uiuc.edu!m.cs.uiuc.edu!uiucdcs!carroll
References: <EBERSMAN.91Mar12201129@cfmartin.uu.net> <TOML.91Mar13091110@marvin.Solbourne.COM>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,834ed3e4a8d5ac50
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1991-03-14 11:59:05 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!maverick.ksu.ksu.edu!ux1.cso.uiuc.edu!m.cs.uiuc.edu!uiucdcs!carroll
From: carroll@cs.uiuc.edu (Alan M. Carroll)
Newsgroups: gnu.epoch.misc
Subject: Re: auto-raise vs auto-focus
Message-ID: <1991Mar14.170745.10780@m.cs.uiuc.edu>
Date: 14 Mar 91 17:07:45 GMT
References: <EBERSMAN.91Mar12201129@cfmartin.uu.net> <TOML.91Mar13091110@marvin.Solbourne.COM>
Sender: news@m.cs.uiuc.edu (News Database (admin-Mike Schwager))
Reply-To: carroll@cs.uiuc.edu (Alan M. Carroll)
Distribution: gnu
Organization: Technophiles Inc. - Engineers with Attitude
Lines: 31