Hi. This patch introduces a bug where the window jumps all over the place when resizing it. I&#39;ve tracked down the problem to the following code though I&#39;m not sure I understand what it&#39;s meant to do yet exactly, so I figured I&#39;d post a comment here.<br>
<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
+       case SHELL_SURFACE_TOPLEVEL:<br>
+               if (prev_surface_type != SHELL_SURFACE_TOPLEVEL) {<br>
+                       if (shsurf-&gt;saved_position_valid &amp;&amp;<br>
+                           shsurf-&gt;saved_x != surface-&gt;geometry.x &amp;&amp;<br>
+                           shsurf-&gt;saved_y != surface-&gt;geometry.y) {<br>
+                               weston_surface_set_position(surface,<br>
+                                                           shsurf-&gt;saved_x,<br>
+                                                           shsurf-&gt;saved_y);<br>
+                       } else if (!shsurf-&gt;saved_position_valid) {<br>
+                               weston_surface_set_position(surface, 10 + random() % 400,<br>
+                                                           10 + random() % 400);<br>
+                       }<br>
+               }<br>
+               break;<br></blockquote></div><br><br><br>Thanks,<br><br>Scott<br>