Re: FVWM: ClickToFocus feature wish or question

From: Charles Hines <chuck_hines_at_VNET.IBM.COM>
Date: Fri, 22 Nov 1996 09:19:32 -0500

>>>>> "Kai" == Kai Grossjohann <grossjohann_at_charly.informatik.uni-dortmund.de> writes:

>>>>> lar3ry gensch writes:
>>>>> Kai Grossjohann wrote:

Kai> The first click in a window does two things:

Kai> (1) it gives the window focus
Kai> (2) it is passed on to the application

Kai> How do I turn off (2)? I don't want my Emacs to do strange
Kai> things just because I click in it to give it focus!

lar3ry> The Motif Window Manager has the properties passButtons and
lar3ry> passSelectButton to enable/disable this feature. It seems
lar3ry> to me like fvwm should have a similar Style or keyword.

Kai> Sorry for taking so long to answer. AFAIK, mwm has a property that
Kai> generally sez something about whether or not clicks should be passed
Kai> on to applications. I was talking about the *first*, focus-giving,
Kai> click only. All other clicks should be passed on. Otherwise, I
Kai> suppose I could just put some binding for mouse1 in W context in the
Kai> config file and everything would be set.

Kai> Any ideas?

Yeah:

  1) I'm planning to add this as a global option in in 2.0.44
     (ClickToFocusDoesntPassClick or something like that)
  2) In events.c, in HandleButtonPress look for:
     #if 1 /* pass click event to just clicked to focus window */
     and just change that to an '#if 0' instead.

These notes must have been among those I lost over the weekend or I
would have responed sooner...

Chuck
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Fri Nov 22 1996 - 08:20:46 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:59 BST