[openbox] Cycle windows with mouse wheel

Dana Jansens dana at orodu.net
Tue Aug 30 12:02:34 EDT 2011


On Wed, Aug 17, 2011 at 1:30 PM, Tom Wizetek <tom at wizetek.com> wrote:
>
> I'm still looking for the ability to cycle windows with a mouse wheel up/down.
>
> my ~/.config/openbox/rc.xml:
>
>  <context name="Desktop">
>    <mousebind button="Up" action="Click">
>      <action name="PreviousWindow">
>        <dialog>no</dialog>
>        <bar>yes</bar>
>        <raise>yes</raise>
>        <linear>no</linear>
>      </action>
>    </mousebind>
>    <mousebind button="Down" action="Click">
>      <action name="NextWindow">
>        <dialog>no</dialog>
>        <bar>yes</bar>
>        <raise>yes</raise>
>        <linear>no</linear>
>      </action>
>    </mousebind>
>  </context>
>
> The issue is that after cycling windows I have to make a window active
> either with a left-mouse-click or by pressing ENTER on the keyboard. I
> am now running openbox-git 20110816 on Arch Linux.
>
> It was mentioned at some point that a 'stopInteractive' config option
> in the <focus> section would take care of it but I can't seem to get
> it to work.
>
> How can I get the desired behaviour?

Use a <finalactions> option in the NextWindow action.  This holds
whatever actions you want to execute.  Make one of them "Focus" with
the option "stopInteractive" set to true.


More information about the openbox mailing list