Auto raise window when moving?

David Courtney blixel at gmail.com
Thu Oct 21 23:01:39 EDT 2004


> Is there a way to make OB raise the window when you click it to move
> it?  Right now I have my Web Browser window in focus / on top /
> raised.  If I click my terminal window and try to drag it over top of
> my web browser, it actually goes behind the web browser.  I have to
> first click the terminal window, let go (that raises it apparently),
> then I can drag it over top of my web browser window.
> 
> Is this a configurable option somehow?

I'm still having a hard time with this.  I've been over the
documentation at the suggested links but I'm still getting the same
results.  Here is the relevant section of my rc.xml, I don't
understand what's wrong with it.  And I didn't make any changes to it
except to bring the first mousebind action to the top.  By default the
"Click" action was the third one down.  I thought there might have
been a precedence problem so I moved it to the top.


  <context name="Titlebar">
    <mousebind button="Left" action="Click">
      <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
      <action name="Move"/>
    </mousebind>
    <mousebind button="Left" action="Press">
      <action name="Focus"/>
    </mousebind>
    <mousebind button="Left" action="DoubleClick">
      <action name="ToggleShade"/>
    </mousebind>
    <mousebind button="Middle" action="Press">
      <action name="Lower"/>
    </mousebind>
    <mousebind button="Up" action="Click">
      <action name="Shade"/>
    </mousebind>
    <mousebind button="Down" action="Click">
      <action name="Unshade"/>
    </mousebind>
    <mousebind button="Right" action="Press">
      <action name="ShowMenu"><menu>client-menu</menu></action>
    </mousebind>
  </context>



More information about the openbox mailing list