summaryrefslogtreecommitdiffstats
path: root/tests/array-test.c
diff options
context:
space:
mode:
authorPekka Paalanen <ppaalanen@gmail.com>2013-03-07 13:10:01 +0200
committerKristian Høgsberg <krh@bitplanet.net>2013-03-21 12:29:15 -0400
commit8bb4d835193e94b202435694df4d67f510ad83f9 (patch)
tree1bfa420165c17fdb6850e16a5b9289c678efbf83 /tests/array-test.c
parentclient: Invoke new_id closure arguments as pointers instead of integers (diff)
downloadwayland-8bb4d835193e94b202435694df4d67f510ad83f9.tar
wayland-8bb4d835193e94b202435694df4d67f510ad83f9.tar.gz
wayland-8bb4d835193e94b202435694df4d67f510ad83f9.tar.bz2
wayland-8bb4d835193e94b202435694df4d67f510ad83f9.tar.lz
wayland-8bb4d835193e94b202435694df4d67f510ad83f9.tar.xz
wayland-8bb4d835193e94b202435694df4d67f510ad83f9.tar.zst
wayland-8bb4d835193e94b202435694df4d67f510ad83f9.zip
protocol: remove implicit attach semantics
To match the Weston commit e7144fd175d1d68b91aa0cec7ab63381b79385a9: Author: Kristian Høgsberg <krh@bitplanet.net> Date: Mon Mar 4 12:11:41 2013 -0500 compositor: Only send release event in response to wl_surface.attach Remove the implicit attach semantics from wl_surface.commit and .attach. Before, if you did this on a wl_surface: attach, commit, commit, you would receive wl_buffer.release for both commits. After this change, you will only receive wl_buffer.release for the first commit. To get a second release, the same buffer must be attached again. There is no need for the implicit attach on the second commit. If the compositor needs the wl_buffer for repainting, it will not release it to begin with. If the compositor does not need to keep the wl_buffer around for repainting, it will not need it for a new commit either. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
Diffstat (limited to 'tests/array-test.c')
0 files changed, 0 insertions, 0 deletions