Article View: comp.windows.x
Article #38152Re: Explicit mode TWM and Click-To-Type Window managers?
From: Tom McConnell~
Date: Tue, 15 Sep 1992 22:10
Date: Tue, 15 Sep 1992 22:10
49 lines
2648 bytes
2648 bytes
In article <72402@apple.Apple.COM>, myee@Apple.COM (Michael Yee) writes:
>
> Has anyone modified TWM to fully support Explicit focus (i.e.
> Click-to-type focus)? If so, can you please send or post the
> diffs. I would greatly appreciate it. I have been working on
> adding Explicit focus support to TWM, and have found that it was
> not quite a trivial task.
>
> Also, if anyone knows of another public domain window manager that
> supports Explicit focus, please let me know.
>
>
> Many thanks,
>
> =Mike
>
> --
> Michael K. Yee <myee@apple.com>
> A/UX Desktop Engineering
> "Live simply so that others may simply live."
twm already has a "click-to-focus" mode. Just add this line to the .twmrc
file:
NoTitleFocus
This stops the keyboard focus from following the mouse. Then you could add a
"focus" button to the title bar with this entry in .twmrc:
RightTitleButton ":dot" = f.focus
The ":dot" is just a bitmap to use.
If, on the other hand, you are talking about colormap focus, a patch exists.
The patch is from Steve Jacobson <csvsj@garnet.berkeley.edu>, and was posted to
comp.window.x back in February 1992. I haven't had time to try it out yet.
This patch is supposed to give twm the same sort of colormap abilities that
mwm has with "colormapFocusPolicy: explicit". It's debatable if that is a "good
thing", but it does help with some applications :)
Cheers,
Tom McConnell
--
Tom McConnell | Internet: tmcconne@sedona.intel.com
Intel, Corp. C3-91 | Phone: (602)-554-8229
5000 W. Chandler Blvd. | The opinions expressed are my own. No one in
Chandler, AZ 85226 | their right mind would claim them.
Technical Details
Message-ID:
<1992Sep15.221054.24578@ichips.intel.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!littlei!intelhf!ichips!tmcconneReferences:
<72402@apple.Apple.COM>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103734,34696bf6920148bb X-Google-Attributes: gid103734,public X-Google-Thread: 1078e5,34696bf6920148bb X-Google-Attributes: gid1078e5,public X-Google-Thread: 1153e1,34696bf6920148bb X-Google-Attributes: gid1153e1,public X-Google-Thread: 10e286,34696bf6920148bb X-Google-Attributes: gid10e286,public X-Google-ArrivalTime: 1992-09-15 15:37:04 PST Path: arc1-ca.pugleaf.net!sparky!uunet!littlei!intelhf!ichips!tmcconne From: tmcconne@sedona.intel.com (Tom McConnell~) Newsgroups: comp.windows.x,ba.windows.x,comp.windows.x.apps,comp.sources.wanted Subject: Re: Explicit mode TWM and Click-To-Type Window managers? Message-ID: <1992Sep15.221054.24578@ichips.intel.com> Date: 15 Sep 92 22:10:54 GMT References: <72402@apple.Apple.COM> Sender: tmcconne@sedona (Tom McConnell~) Organization: Intel Corporation Lines: 49 Originator: tmcconne@sedona