projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b154fa
)
zoom: Don't damage_all here
author
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 29 Feb 2012 04:12:52 +0000
(23:12 -0500)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 29 Feb 2012 17:52:32 +0000
(12:52 -0500)
Setting geometry.dirty = 1 is enough.
src/util.c
patch
|
blob
|
history
diff --git
a/src/util.c
b/src/util.c
index
ee8e7cf
..
3ca940f
100644
(file)
--- a/
src/util.c
+++ b/
src/util.c
@@
-147,8
+147,7
@@
weston_zoom_frame(struct weston_animation *animation,
es->alpha = 255;
zoom->surface->geometry.dirty = 1;
-
- weston_compositor_damage_all(es->compositor);
+ weston_compositor_schedule_repaint(es->compositor);
}
WL_EXPORT struct weston_zoom *