[openbox] Window Lowering Focus Problem

Mikael Magnusson mangosoft at comhem.se
Sun Apr 18 12:42:02 EDT 2004


On Sun, 18 Apr 2004, Jonathan Boler wrote:

> I have a mousebind:
> 
>    <context name="Client">
>      <mousebind button="Button6" action="Press">
>        <action name="Lower"/>
>      </mousebind>
>    </context>
> 
> If I use this binding to lower a window then the focus stays with that 
> window instead of the new window under the mouse pointer. I've tried 
> adding a Focus action but that doesn't help.
> 
> Is there any way I can make this behave like clicking Lower on a 
> titlebar behaves, ie. a newly exposed window under the mouse pointer 
> receives focus ?

Put it in the frame context instead, and it should work fine. If you have 
it in the client context, the application also receives the mouse click, 
which is probably why the focus switch doesn't work as expected.

> Thanks
> 
> Jonathan
> 

--
Mikael Magnusson



More information about the openbox mailing list