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">&lt;<a href="mailto:loutsis@csd.uoc.gr" target="_blank">loutsis@csd.uoc.gr</a>&gt;</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&#39;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&#39;s position so i could &quot;MoveResizeTo&quot; 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&#39;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&#39;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:&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Liberation Mono&#39;,Monaco,&#39;Lucida Console&#39;,&#39;Courier New&#39;,monospace;background-color:rgb(230,244,244)">

<span style="font-family:arial;font-size:small;white-space:normal;background-color:rgb(255,255,255)">&lt;keybind key=&#39;W-Right&quot;&gt;</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)">  &lt;action name=&quot;If&quot;&gt;</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)">    &lt;maximized&gt;yes&lt;/maximized&gt;</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)">    &lt;then&gt;</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)">      &lt;action name=&quot;Unmaximize&quot;/&gt;</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)">      &lt;action name=&quot;Unmaximize&quot;/&gt;</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)">        &lt;direction&gt;vertical&lt;/direction&gt;</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)">      &lt;/action&gt;</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)">      &lt;action name=&quot;MoveResizeTo&quot;&gt;</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)">        &lt;x&gt;0&lt;/x&gt;</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)">        &lt;y&gt;0&lt;/y&gt;</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)">        &lt;width&gt;50%&lt;/width&gt;</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)">      &lt;/action&gt;</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)">    &lt;/then&gt;</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)">    &lt;else&gt;</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)">      &lt;action name=&quot;If&quot;&gt;</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&#39;t be done without knowing the window&#39;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&#39;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&#39;m thinking right now, such as, how is each windows going to hold it&#39;s previous state ?</div>


<div><br></div><div>Anyway, that&#39;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>