[PATCH] wayland-server: update the client fd when it failed to flush with EAGAIN
ppaalanen at gmail.com
Tue Nov 27 12:24:07 UTC 2018
On Tue, 27 Nov 2018 17:59:16 +0900
박성진 <sj76.park at samsung.com> 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
No, you cannot do that either. It too will cause the client and the
server to get out of sync, which may eventually lead to a fatal
Really, the only thing you can do is either disconnect the client or
halt its connection until it drains. Halting would require explicit
support throughout the compositor to avoid sending any events, so
disconnecting is the only thing that libwayland-server can do by itself.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the wayland-devel