Re: FVWM: automatically focus transient windows

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Wed, 7 Apr 1999 20:34:22 +0200

On Wed, Apr 07, 1999 at 11:15:45AM +0200, Kai.Grossjohann_at_CS.Uni-Dortmund.DE wrote:
> 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.

Good idea.

> 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.

The history is already there. The new bit would be to transfer the
focus back to the previous window.

Bye

Dominik ^_^

--
Dominik Vogt, dominik.vogt_at_gmx.de
Reply-To: dominik.vogt_at_gmx.de
--
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 Thu Apr 08 1999 - 08:01:51 BST

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