Re: [PATCH] wayland-server: update the client fd when it failed to flush with EAGAIN

2018-11-28 Thread Pekka Paalanen
On Wed, 28 Nov 2018 09:49:54 +0900 박성진 wrote: > > On Tue, 27 Nov 2018 17:59:16 +0900 > > 박성진 wrote: > > > > Hi Derek>> On 11/22/18 11:08 PM, Jeonghyun Kang wrote: > > > > > What if it's a frame event that gets dropped and not an input event? Or > > > > a resource destroy? > > > Instead of des

RE: Re: [PATCH] wayland-server: update the client fd when it failed to flush with EAGAIN

2018-11-27 Thread 박성진
> On Tue, 27 Nov 2018 17:59:16 +0900> 박성진 wrote:> > Hi Derek>> On 11/22/18 11:08 PM, Jeonghyun Kang wrote:> > > What if it's a frame event that gets dropped and not an input event?  Or> > > a resource destroy?> > Instead of destroying a connection, destroying a resource seems to be more> > r

Re: [PATCH] wayland-server: update the client fd when it failed to flush with EAGAIN

2018-11-27 Thread Pekka Paalanen
On Tue, 27 Nov 2018 17:59:16 +0900 박성진 wrote: > Hi Derek>> On 11/22/18 11:08 PM, Jeonghyun Kang wrote: > > What if it's a frame event that gets dropped and not an input event? Or > > a resource destroy? > Instead of destroying a connection, destroying a resource seems to be more > reasonable.

RE: Re: [PATCH] wayland-server: update the client fd when it failed to flush with EAGAIN

2018-11-27 Thread 박성진
Hi Derek>> On 11/22/18 11:08 PM, Jeonghyun Kang wrote: >> When a wayland compositor gets an EAGAIN error whenever >> sending or receiving event(s) to a client in the >> wl_closure_send() or the wl_closure_queue(), the error >> variable of the wl_client for the client will be set to >> tr

Re: [PATCH] wayland-server: update the client fd when it failed to flush with EAGAIN

2018-11-27 Thread Pekka Paalanen
On Mon, 26 Nov 2018 11:12:08 -0600 Derek Foreman wrote: > On 11/22/18 11:08 PM, Jeonghyun Kang wrote: > > When a wayland compositor gets an EAGAIN error whenever > > sending or receiving event(s) to a client in the > > wl_closure_send() or the wl_closure_queue(), the error > > variable of the wl_

Re: [PATCH] wayland-server: update the client fd when it failed to flush with EAGAIN

2018-11-26 Thread Derek Foreman
On 11/22/18 11:08 PM, Jeonghyun Kang wrote: > When a wayland compositor gets an EAGAIN error whenever > sending or receiving event(s) to a client in the > wl_closure_send() or the wl_closure_queue(), the error > variable of the wl_client for the client will be set to > true and the client is going

[PATCH] wayland-server: update the client fd when it failed to flush with EAGAIN

2018-11-22 Thread Jeonghyun Kang
When a wayland compositor gets an EAGAIN error wheneversending or receiving event(s) to a client in thewl_closure_send() or the wl_closure_queue(), the errorvariable of the wl_client for the client will be set totrue and the client is going to be killed by thecompositor later soon. This patch f