diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2014-09-06 09:01:28 -0700 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2014-09-06 09:01:28 -0700 |
commit | f83a0d44b8087b862677b5d1c01f15e3a1591e8a (patch) | |
tree | 25db2c45a5464cc871a05e005b77e1e6b696404e /src/compositor.c | |
parent | 386754cf79a025b14fa55a8e63b1b5bf04aa1ffa (diff) | |
download | weston-f83a0d44b8087b862677b5d1c01f15e3a1591e8a.tar.gz |
Fix a copy-paste error in weston_surface_commit_state
Diffstat (limited to 'src/compositor.c')
-rw-r--r-- | src/compositor.c | 2 |
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); |