commit | 5addaa1820704cbbac85b541b5871289f5e5a00a | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Mon Jul 22 14:32:41 2013 -0700 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Thu Jul 25 09:49:43 2013 -0700 |
tree | 876ec0686cd6a569137e47a2350c30e48e11bb8a | |
parent | 18684d442ef87ab857dcda0b9785c328b3da2298 [diff] [blame] |
simple-touch: Attach buffer before posting damage
diff --git a/clients/simple-touch.c b/clients/simple-touch.c index b8473f1..534c77c 100644 --- a/clients/simple-touch.c +++ b/clients/simple-touch.c
@@ -141,6 +141,7 @@ p += touch->width; p[2] = c; + wl_surface_attach(touch->surface, touch->buffer, 0, 0); wl_surface_damage(touch->surface, x - 2, y - 2, 5, 5); /* todo: We could queue up more damage before committing, if there * are more input events to handle.