commit | a6421c4ea8db9e2aa54ae195739c06a9a45df78d | [log] [tgz] |
---|---|---|
author | Pekka Paalanen <ppaalanen@gmail.com> | Tue Dec 04 15:58:10 2012 +0200 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Thu Dec 06 15:57:12 2012 -0500 |
tree | a6fb63a25c1bee3988b0c8deb58fdf7bbaa864d9 | |
parent | 82ec909b07654d7d2f2f93e1f025dbbc4e4b7ac8 [diff] |
compositor: do not release if re-attaching buffer If a client called wl_surface.attach with the same wl_buffer as previously, the compositor would mistakenly send a release on that buffer. This will cause problems only when clients start to properly use the wl_buffer.release event. Do not send wl_buffer.release if the same buffer is attached again. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>