[openbox] Disable shrink with GrowToEdge?

James Robertson j at mesrobertson.com
Tue Nov 8 04:58:18 EST 2011


I am using OpenBox 3.5.

Is it possible to somehow disable the shrink behaviour when using
GrowToEdge?

I have created the following key bindings and the shrink function makes it
a bit weird when the window is already at the screen edge as the keybinding
essentially becomes reversed.

    <keybind key="W-C-Right">
      <action name="UnmaximizeFull"/>
      <action name="MaximizeVert"/>
      <action name="ShrinkToEdge">
        <direction>east</direction>
      </action>
    </keybind>
    <keybind key="W-C-Left">
      <action name="UnmaximizeFull"/>
      <action name="MaximizeVert"/>
      <action name="GrowToEdge">
        <direction>west</direction>
      </action>
    </keybind>
    <keybind key="W-A-Right">
      <action name="UnmaximizeFull"/>
      <action name="MaximizeVert"/>
      <action name="GrowToEdge">
        <direction>east</direction>
      </action>
    </keybind>
    <keybind key="W-A-Left">
      <action name="UnmaximizeFull"/>
      <action name="MaximizeVert"/>
      <action name="ShrinkToEdge">
        <direction>west</direction>
      </action>
    </keybind>

I would rather it do nothing once it hits the screen edge in the event of
me clicking to many times by accident.

Thanks so much for the fantastic program in any case.

James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/openbox/attachments/20111108/7a471798/attachment.htm>


More information about the openbox mailing list