<div dir="ltr">Hi,<div class="gmail_extra"><br><div class="gmail_quote">On 9 March 2013 07:24, Scott Moreau <span dir="ltr"><<a href="mailto:oreaus@gmail.com" target="_blank">oreaus@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
diff --git a/hw/xfree86/xwayland/xwayland.c b/hw/xfree86/xwayland/xwayland.c<br>
index d97f4ee..f59bfe4 100644<br>
--- a/hw/xfree86/xwayland/xwayland.c<br>
+++ b/hw/xfree86/xwayland/xwayland.c<br>
@@ -344,6 +344,9 @@ void xwl_screen_post_damage(struct xwl_screen *xwl_screen)<br>
box->x2 - box->x1 + 1,<br>
box->y2 - box->y1 + 1);<br>
}<br>
+ wl_surface_attach(xwl_window->surface,<br>
+ xwl_window->buffer,<br>
+ 0, 0);<br>
wl_surface_commit(xwl_window->surface);<br>
DamageEmpty(xwl_window->damage);<br>
}<br></blockquote><div><br></div><div style>I think this is just a broken compositor as a result of the patches to not attach on every commit though; I guess we should take damage into account when we process that, doing something akin to TexSubImage if possible. The protocol seems to explicitly allow for damage without an explicit attach.</div>
<div style><br></div><div style>Cheers,</div><div style>Daniel</div></div></div></div>