projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18684d4
)
simple-touch: Attach buffer before posting damage
author
Kristian Høgsberg
<krh@bitplanet.net>
Mon, 22 Jul 2013 21:32:41 +0000
(14:32 -0700)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 25 Jul 2013 16:49:43 +0000
(09:49 -0700)
clients/simple-touch.c
patch
|
blob
|
history
diff --git
a/clients/simple-touch.c
b/clients/simple-touch.c
index
b8473f1
..
534c77c
100644
(file)
--- a/
clients/simple-touch.c
+++ b/
clients/simple-touch.c
@@
-141,6
+141,7
@@
touch_paint(struct touch *touch, int32_t x, int32_t y, int32_t id)
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.