Re: Click anywhere in window -> focus

Andre Pang (ozone@ihug.com.au)
Wed, 19 May 1999 12:07:58 +1000


On Tue, May 18, 1999 at 09:47:55PM -0400, Simon Drabble wrote:

> >     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'.
> 
> Function "Move-or-Top"
>         Move            "Motion"
> #       RaiseLower      "Click"
>         PutOnTop        "DoubleClick"
> EndFunction

    You didn't read my question :)  The Move-or-Top function applies to the
titlebar only; I'm talking about focusing on the window if you click
*anywhere* in the window, not just the titlebar.


-- 
  __/\___/\_/\____/\____/\    Andre Pang
 /   /__  /   \_    \_  __)
(  :  /  (__:  )  |  |  _)_   ozone@ihug.com.au, andrep@cse.unsw.edu.au
 \___(  ______/|__;__|_____|  http://www.mindflux.com.au/ozone/
      \/ - #ozone             mobile ph#: 0411-882299

--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://www.calderasystems.com/linuxcenter/forums/afterstep.html