compositor: flush the batched up damage when shm buffer is destroyed
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 20 Jun 2012 13:24:35 +0000 (09:24 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 20 Jun 2012 13:31:13 +0000 (09:31 -0400)
commita85b4fb6ac62189c6a67371c164def0e5ccd527a
treee6f16f893272f8340301dbc8c55176e4ca3e0a52
parent83c4c40135b0522b9ea4a9af1cfc6aec5e39afe5
compositor:  flush the batched up damage when shm buffer is destroyed

Since we now batch up damage and only handle it at repaint time, we need
to apply it in case a buffer is destroyed so we don't lose it.

Ander found the problem, but we need to fix it in the compositor so we
don't change the behavior of the compositor.
src/compositor.c