Article View: gnu.epoch.misc
Article #2128Re: Making X window-focus select screens
From: Alan M. Carroll
Date: Mon, 08 Apr 1991 22:14
Date: Mon, 08 Apr 1991 22:14
37 lines
2568 bytes
2568 bytes
In article <9104081703.AA21554@avenger.think.com>, rad@THINK.COM (Bob Doolittle) writes:
> The first thing that I noticed is the "auto-raise-screen" feature.
> Is there some good reason that this was built into Epoch?
This feature is very useful to those of us who switch screens using
keystrokes instead of the mouse, e.g. through ^Z-4-b or ^Z-4-f.
>
> The second thing which seems "un-X-like" is the window focus. I happen to
> dislike "click-to-type". So far, I've not found an easy way to make X
> window-focus map to Epoch screen-focus. One byproduct of this seems to be
> that when I move my cursor out of Epoch entirely (say to an xterm), I have
> two solid cursors on my screen
The behaviour you want should be the default behaviour. I run an Epoch
under GWM, not click-to-type, and moving the mouse from one screen to
another switches the current screen, and moving the mouse out of any
screen causes the text cursor to switch to a hollow block. Try running
an Epoch with the -q flag to test it.
On the other hand, there is a bug involving passive grabs on Epoch
screens, where Epoch thinks it has the focus until another FocusOut
event. This happens when the WM traps a keystroke on an Epoch screen.
It seems to be fixed with the following patch to x11term.c, around
line 1596.
case FocusOut:
/* start of change */
if (
(event.type == FocusOut || event.type == FocusIn)
&& event.xfocus.mode != NotifyNormal
) break;
/* end of change */
--
Alan M. Carroll <-- Another victim of applied metaphysics
Epoch Development Team
Urbana Il. "I hate shopping with the reality-impaired" - Susan
Technical Details
Message-ID:
<1991Apr8.221417.30715@m.cs.uiuc.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!uwm.edu!ux1.cso.uiuc.edu!m.cs.uiuc.edu!uiucdcs!carrollReferences:
<9104081703.AA21554@avenger.think.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc7ee,f11e648938b0a0b1 X-Google-Attributes: gidfc7ee,public X-Google-ArrivalTime: 1991-04-08 18:03:37 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!uwm.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: Making X window-focus select screens Message-ID: <1991Apr8.221417.30715@m.cs.uiuc.edu> Date: 8 Apr 91 22:14:17 GMT References: <9104081703.AA21554@avenger.think.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: 37 Nntp-Posting-Host: ash.cs.uiuc.edu