window: add a note about freeing shm buffers
authorPekka Paalanen <ppaalanen@gmail.com>
Tue, 4 Dec 2012 14:01:16 +0000 (16:01 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 6 Dec 2012 22:02:13 +0000 (17:02 -0500)
commit4dd0c412db50e451e2bea04d60e6b7a2b6c9e9da
treedb11ecaa0723b808d06ffe77b7008b0d01210d00
parentaac1c1333213afd678bb1b1390db43670507c19c
window: add a note about freeing shm buffers

After a client has been double-buffering, and then switches to
single-buffering, it should release the 2nd buffer. That never happens
in practice here, so just add a comment and a check in case it ever
occurs in the future.

If we implemented the releasing now, it would be difficult to test.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
clients/window.c