<div class="gmail_quote">On Fri, Jun 18, 2010 at 2:26 PM, Sam Spilsbury <span dir="ltr">&lt;<a href="mailto:smspillaz@gmail.com">smspillaz@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On 6/18/10, Jay Catherwood &lt;<a href="mailto:jay.catherwood@gmail.com">jay.catherwood@gmail.com</a>&gt; wrote:<br>

&gt; (1) The snap to windows checkbox in ccsm has no effect because Snap treats<br>
&gt; any window with struts as an edge, and all windows have struts.<br>
<br>
</div>Didn&#39;t apply this one. w-&gt;struts () should return NULL if there are no<br>
struts. If all windows have struts then this is a bug in core<br></blockquote><div><br>All right. CompWindow::updateStruts does give all windows struts. I turned that off and the snapping problem is fixed for me. Patch is attached.<br>
 <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
&gt; (2) Windows don&#39;t snap to the left edge because it has been erased. The<br>
&gt; right edge doesn&#39;t seem to get erased because it is slightly offscreen, so I<br>
&gt; did the same thing with the left. I don&#39;t know if that is exactly the right<br>
&gt; solution, but at least it works.<br>
<br>
</div>Applied,<br></blockquote></div><br>It turns out this bug was an artifact of all windows having struts. I think you can revert this if you apply the patch to updateStruts.<br><br>Thanks,<br>Jay<br>