[openbox] focus follows mouse and keybinding raise/lower window

Mikael Magnusson mangosoft at comhem.se
Tue May 9 01:07:58 EDT 2006


On Mon, 8 May 2006, Emile Snyder wrote:

> Hi,
>
> From the FAQ:
>
> Q: When I lower, raise or move windows with a keybinding, focus doesn't
> follow the mouse!
> A: This is a feature, how large is the chance that the mouse
> accidentally enters a window you want to focus when you move or
> lower/raise something?
>
> Uhh, for me, 99% because I'm always sending windows to the back of the
> stack to *get at what's behind them*.  I've switched to openbox recently
> because blackbox makes my gnome panel based desktop take forever to
> start up (presumably because it's waiting for a session type connection
> to time out since blackbox doesn't support sessions?).  The focus issue
> is a deal killer to me.
>
> Can one of the openbox hackers point me quickly to which source file I
> should poke around in to change this behavior?

If you bind lower to a mouse button, which is reasonable if you want focus 
to change based on the mouse pointer's position, focus will in fact change 
to the window that the mouse pointer is over after your window has 
lowered. If you are working only with the keyboard, how do you make sure 
the mouse pointer is where you want, do you move it first and then press a 
keyboard binding??? Why not use Next/PreviousWindow?

> Thanks,
> -Emile Snyder
>
>

--
Mikael Magnusson



More information about the openbox mailing list