Hi,<div><br></div><div>You can use middle mouse button to resize vertically and right button to resize window horizontally in place of left button which resize in full screen... </div><div>It almost remember previous position even if sometimes I had strange behaviour when clicking to get back to previous state. No idea if it was old version, my mistake or whatever... Anyway, I use that for years and that miss me so much under Windows...</div>
<div><br></div><div>That does not answer to your question but perhaps it would help : )</div><div><br></div><div>Cheers,</div><div><br></div><div>Mat</div><div class="gmail_extra"><br><br><div class="gmail_quote">2012/12/18 laertis <span dir="ltr"><<a href="mailto:loutsis@csd.uoc.gr" target="_blank">loutsis@csd.uoc.gr</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>first of all i'd like to say how much i love this WM and how configurable it is.</div>
<div><br></div><div>What is troubling me for the past of the week is how to get openbox to simulate Win7 aero snapping behavior which i find really comforting and productive btw. I assumed that in order to achieve so, given the current configuration actions, i would need to know the variables holding the window's position so i could "MoveResizeTo" those!</div>
<div><br></div><div>I think this guy describes the same thing with me except that he is talking about mousebinds while i'm talking about keybinds.</div><div><br></div><div><br></div><div>And this is the nearest i could get to Win7 snapping : <a href="http://www.jasoncavett.com/2012/05/better-aero-snap-with-openbox.html" target="_blank">http://www.jasoncavett.com/2012/05/better-aero-snap-with-openbox.html</a></div>
<div><br></div><div>I've tried a work around leveraging the if statements of the openbox configuration file and the result was something like this :</div><div><br></div><div><pre style="border:1px solid rgb(58,139,140);overflow:auto;padding:3px;margin-top:3px;margin-bottom:3px;word-wrap:normal;font-size:0.9em;font-family:'DejaVu Sans Mono','Bitstream Vera Sans Mono','Liberation Mono',Monaco,'Lucida Console','Courier New',monospace;background-color:rgb(230,244,244)">
<span style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)"><keybind key='W-Right"></span><br style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)">
<span style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)"> <action name="If"></span><br style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)">
<span style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)"> <maximized>yes</maximized></span><br style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)">
<span style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)"> <then></span><br style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)">
<span style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)"> <action name="Unmaximize"/></span><br style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)">
<span style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)"> <action name="Unmaximize"/></span><br style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)">
<span style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)"> <direction>vertical</direction></span><br style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)">
<span style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)"> </action></span><br style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)">
<span style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)"> <action name="MoveResizeTo"></span><br style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)">
<span style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)"> <x>0</x></span><br style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)">
<span style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)"> <y>0</y></span><br style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)">
<span style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)"> <width>50%</width></span><br style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)">
<span style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)"> </action></span><br style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)">
<span style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)"> </then></span><br style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)">
<span style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)"> <else></span><br style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)">
<span style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)"> <action name="If"></span><br style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)">
<span style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)"> ..........</span><br style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)">
<span style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)"> ..........</span><br style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)">
<span style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)"> ..........</span><br style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)">
<span style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)"> ..........</span><br></pre></div><div> but i figured out but it can't be done without knowing the window's position.</div>
<div><br></div><div>So i think writing a wmctrl script holding the windows position and combining it with the above would give me what i want.</div><div><br></div><div>Is there any chance this is implemented somewhere out there?</div>
<div><br></div><div>I think i'm gonna write down a script either way but if there is something out there getting the job done it would help for now.</div><div><br></div><div>However there are some issues i'm thinking right now, such as, how is each windows going to hold it's previous state ?</div>
<div><br></div><div>Anyway, that's about it. Thank you for the support.</div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote class="gmail_quote" style="margin:0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;border-right-width:1px;border-right-color:rgb(204,204,204);border-right-style:solid;padding-left:1ex;padding-right:1ex">
</blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote class="gmail_quote" style="margin:0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;border-right-width:1px;border-right-color:rgb(204,204,204);border-right-style:solid;padding-left:1ex;padding-right:1ex">
</blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote class="gmail_quote" style="margin:0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;border-right-width:1px;border-right-color:rgb(204,204,204);border-right-style:solid;padding-left:1ex;padding-right:1ex">
</blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote class="gmail_quote" style="margin:0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;border-right-width:1px;border-right-color:rgb(204,204,204);border-right-style:solid;padding-left:1ex;padding-right:1ex">
</blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote class="gmail_quote" style="margin:0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;border-right-width:1px;border-right-color:rgb(204,204,204);border-right-style:solid;padding-left:1ex;padding-right:1ex">
</blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote class="gmail_quote" style="margin:0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;border-right-width:1px;border-right-color:rgb(204,204,204);border-right-style:solid;padding-left:1ex;padding-right:1ex">
</blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote class="gmail_quote" style="margin:0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;border-right-width:1px;border-right-color:rgb(204,204,204);border-right-style:solid;padding-left:1ex;padding-right:1ex">
</blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote class="gmail_quote" style="margin:0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;border-right-width:1px;border-right-color:rgb(204,204,204);border-right-style:solid;padding-left:1ex;padding-right:1ex">
</blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote class="gmail_quote" style="margin:0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;border-right-width:1px;border-right-color:rgb(204,204,204);border-right-style:solid;padding-left:1ex;padding-right:1ex">
</blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote class="gmail_quote" style="margin:0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;border-right-width:1px;border-right-color:rgb(204,204,204);border-right-style:solid;padding-left:1ex;padding-right:1ex">
</blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote class="gmail_quote" style="margin:0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;border-right-width:1px;border-right-color:rgb(204,204,204);border-right-style:solid;padding-left:1ex;padding-right:1ex">
</blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote class="gmail_quote" style="margin:0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;border-right-width:1px;border-right-color:rgb(204,204,204);border-right-style:solid;padding-left:1ex;padding-right:1ex">
</blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote class="gmail_quote" style="margin:0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;border-right-width:1px;border-right-color:rgb(204,204,204);border-right-style:solid;padding-left:1ex;padding-right:1ex">
</blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote class="gmail_quote" style="margin:0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;border-right-width:1px;border-right-color:rgb(204,204,204);border-right-style:solid;padding-left:1ex;padding-right:1ex">
</blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote class="gmail_quote" style="margin:0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;border-right-width:1px;border-right-color:rgb(204,204,204);border-right-style:solid;padding-left:1ex;padding-right:1ex">
</blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote class="gmail_quote" style="margin:0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;border-right-width:1px;border-right-color:rgb(204,204,204);border-right-style:solid;padding-left:1ex;padding-right:1ex">
</blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote class="gmail_quote" style="margin:0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;border-right-width:1px;border-right-color:rgb(204,204,204);border-right-style:solid;padding-left:1ex;padding-right:1ex">
</blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote class="gmail_quote" style="margin:0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;border-right-width:1px;border-right-color:rgb(204,204,204);border-right-style:solid;padding-left:1ex;padding-right:1ex">
</blockquote></blockquote>
</div>
<br>_______________________________________________<br>
openbox mailing list<br>
<a href="mailto:openbox@icculus.org">openbox@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
<br></blockquote></div><br></div>