FVWM: automatically focus transient windows

From: <Kai.Grossjohann_at_CS.Uni-Dortmund.DE>
Date: 07 Apr 1999 11:15:45 +0200

I have hacked ctwm to automatically focus transient windows. I.e.,
when a window is first created (or mapped, not sure which -- I don't
really grok X11 programming at all), it is checked whether it is a
transient window. If it is, it is focussed.

This is wonderful if you use MouseFocus or SloppyFocus and bring up
popup windows, for example with Alt-F in Netscape.

Fvwm has a different way to solve this problem: by telling all
Netscape windows to be ClickToFocus, you achieve a similar result.

But it is not quite the same.

How about implementing this simple change for Fvwm, too?

Suggested improvement: only assign focus to the transient if it is a
transient_for the currently focussed window.

Suggested improvement 2: keep a history of focussed windows, like
this: transient window 1 appears, gets focus. User does something,
which causes transient window 2 to appear, which also gets focus.
User does something, which causes transient window 2 to disappear.
Then, transient window 1 should get the focus again.


Opinions?

kai
-- 
Abort this operation?   [Abort]  [Cancel]
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Apr 07 1999 - 04:17:06 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST