[openbox] Window Lowering Focus Problem

Jonathan Boler j.m.boler at sms.ed.ac.uk
Sun Apr 18 15:40:48 EDT 2004


Mikael Magnusson wrote:
> 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.
> 

Ace, that works. Been annoying me for ages that has \o/.

Thanks again.

> 
>>Thanks
>>
>>Jonathan
>>
> 
> 
> --
> Mikael Magnusson



More information about the openbox mailing list