> -Original Message-
> From: Derek Foreman [mailto:der...@osg.samsung.com]
> Sent: Wednesday, February 03, 2016 6:56 AM
> To: Pekka Paalanen; Jaeyoon Jung
> Cc: 'Jonas Ã…dahl'; wayland-devel@lists.freedesktop.org
> Subject: Re: Recursive dispatch (Re: [PATCH v2]
When processing a closure, data in the connection can be consumed again
if the closure itself invokes extra event dispatch. In that case the
remaining data size is also altered, so the variable len should be
updated after the closure is processed.
Signed-off-by: Jaeyoon Jung
---
src
> -Original Message-
> From: wayland-devel [mailto:wayland-devel-boun...@lists.freedesktop.org] On
> Behalf Of Jonas Adahl
> Sent: Tuesday, January 12, 2016 12:27 PM
> To: Jaeyoon Jung
> Cc: wayland-devel@lists.freedesktop.org
> Subject: Re: [PATCH v2] server: Calculat
When processing a closure, data in the connection can be consumed again
if the closure itself invokes extra event dispatch. In that case the
remaining data size is also altered, so the variable len should be
updated after the closure is processed.
Signed-off-by: Jaeyoon Jung
---
src
: Jaeyoon Jung
---
src/connection.c | 8 +++-
src/wayland-private.h | 3 +++
src/wayland-server.c | 3 ++-
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/connection.c b/src/connection.c
index 6742f19..3c8f727 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -314,6