[openbox] mouse-focus

Dana Jansens danakj at orodu.net
Sat May 26 10:14:39 EDT 2007


On 5/26/07, hungerburg <dub at lazy.shacknet.nu> wrote:
> On Sat, May 26, 2007 at 01:14:34PM +0200, hungerburg wrote:
> >
> > also, not to be a nuisance, a separate patch, because it may
> > be controversial, to remove the raise action from client
> > clicks. I think this and mouse-focus go together, or is it
> > just me?
>
> Focus-follow-mouse gives me the following problem:
> middle-click on a titlebar sends the window to the back, yet
> focus then is not with the new top-most nor the
> under-the-cursor window, either of which I would expect ...

Change this binding, in a few places:

    <mousebind button="A-Middle" action="Press">
      <action name="Focus"/>
      <action name="Lower"/>
    </mousebind>

to this:

    <mousebind button="A-Middle" action="Press">
      <action name="Focus"/>
    </mousebind>
    <mousebind button="A-Middle" action="Click">
      <action name="Lower"/>
    </mousebind>

I'll set that up in the example too.

Dana



More information about the openbox mailing list