Hi. This patch introduces a bug where the window jumps all over the place when resizing it. I've tracked down the problem to the following code though I'm not sure I understand what it's meant to do yet exactly, so I figured I'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->saved_position_valid &&<br>
+ shsurf->saved_x != surface->geometry.x &&<br>
+ shsurf->saved_y != surface->geometry.y) {<br>
+ weston_surface_set_position(surface,<br>
+ shsurf->saved_x,<br>
+ shsurf->saved_y);<br>
+ } else if (!shsurf->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>