[PATCH] screen-share: re-enable planes when finished

Jason Ekstrand jason at jlekstrand.net
Thu Apr 3 09:51:42 PDT 2014


---
 src/screen-share.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/screen-share.c b/src/screen-share.c
index 8432fe6..08f7427 100644
--- a/src/screen-share.c
+++ b/src/screen-share.c
@@ -949,6 +949,8 @@ shared_output_destroy(struct shared_output *so)
 {
 	struct ss_shm_buffer *buffer, *bnext;
 
+	so->output->disable_planes--;
+
 	wl_list_for_each_safe(buffer, bnext, &so->shm.buffers, link)
 		ss_shm_buffer_destroy(buffer);
 	wl_list_for_each_safe(buffer, bnext, &so->shm.free_buffers, link)
-- 
1.9.0



More information about the wayland-devel mailing list