Re: Click anywhere in window -> focus

Simon Drabble (
Tue, 18 May 1999 21:47:55 -0400 (EDT)

On Wed, 19 May 1999, Andre Pang wrote:

> Hi all,
>     Is there a directive in a feel config file or a module which allows you
> to make a window focused when you click *anywhere* on the window, rather
> than just the titlebar?  I've tried something like adding "Mouse 0 W A
> Focus" to the feel file, but that doesn't work because the moment you click
> on any window, including the current one, AfterStep intercepts the
> mouse-click and the application doesn't receive the 'click'.
>     I tried to modify the Auto module but unfortunately I don't have enough
> knowledge of C/the module specs to do what I want it to do.  Surely this
> would be a 5-minute module to hack up for anybody who knows what they're
> doing?  I think it'd improve the speed of navigating around all the windows
> alot, since you wouldn't have to reach for the window X's titlebar all the
> time to focus/raise window X - you could just click anywhere in the window
> instead.
>     - #ozone

Remove the line beginning with a # below, in the named function (a #
comments it out, same difference)

Function "Move-or-Top"
        Move            "Motion"
#       RaiseLower      "Click"
        PutOnTop        "DoubleClick"


 When I want your opinion I'll give it to you.
   Simon Drabble                      Somewhere in cyberspace