summaryrefslogtreecommitdiff
path: root/src/compositor.c
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2014-09-06 09:01:28 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2014-09-06 09:01:28 -0700
commitf83a0d44b8087b862677b5d1c01f15e3a1591e8a (patch)
tree25db2c45a5464cc871a05e005b77e1e6b696404e /src/compositor.c
parent386754cf79a025b14fa55a8e63b1b5bf04aa1ffa (diff)
downloadweston-f83a0d44b8087b862677b5d1c01f15e3a1591e8a.tar.gz
Fix a copy-paste error in weston_surface_commit_state
Diffstat (limited to 'src/compositor.c')
-rw-r--r--src/compositor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor.c b/src/compositor.c
index 20ff6b21..801d0745 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -2249,7 +2249,7 @@ weston_surface_commit_state(struct weston_surface *surface,
&state->damage);
pixman_region32_intersect_rect(&surface->damage, &surface->damage,
0, 0, surface->width, surface->height);
- pixman_region32_clear(&surface->pending.damage);
+ pixman_region32_clear(&state->damage);
/* wl_surface.set_opaque_region */
pixman_region32_init(&opaque);