FVWM: Re: ClickToFocus

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Sun, 25 Jul 1999 02:59:59 +0200

On Thu, Jul 22, 1999 at 11:43:40AM -0500, Kelly French wrote:
> Hello,
>
> I've been working on a stripped down window manager starting with lwm.
> I've been trying to add and subtract features to suit what I'm trying to
> end up with. One of the things I'm trying to do is implement a
> ClickToFocus behavior.
>
> The reason I'm writing to this list is because I've been looking through
> the fvwm2 source and have noticed ClickToFocus has been implemented as a
> style and that it is checked in lots of places. In trying to understand
> how the focus events work I disable my NotifyEnter handler and this
> keeps the focus from switching when the mouse is over the frame and
> keeps the window from becoming active(raised?) when the mouse is over
> the frame (because that code is in the NotifyEnter handler) but the
> focus still switches when the mouse moves over the client. Is their
> some other message that is causing Focus change notification? I tried
> to include a FocusIn handler which did nothing but return but don't know
> if you have to add some setting to make sure you receive that message.

I'm not quite sure what you are trying to do. ClickToFocus has nothing
to do with FocusIn/Out events in the first place. The window manager itself
causes these events by switching the focus from one window to another
(by calling XSetInputFocus). Some rare applications do this themself.

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 Mon Jul 26 1999 - 19:24:11 BST

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