Click anywhere in window -> focus

Andre Pang (ozone@ihug.com.au)
Wed, 19 May 1999 11:25:21 +1000


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

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