Re: [PATCH v4 wayland] wayland-server: log an error for events with wrong client objects

2016-12-12 Thread Bryce Harrington
On Mon, Dec 12, 2016 at 12:46:30PM -0800, Yong Bakos wrote: > Hi Derek, > > > On Dec 12, 2016, at 12:39 PM, Derek Foreman wrote: > > > > Check that all the objects in an event belong to the same client as > > the resource posting it. This prevents a compositor from accidentally > > mixing clien

Re: [PATCH v4 wayland] wayland-server: log an error for events with wrong client objects

2016-12-12 Thread Yong Bakos
Hi Derek, > On Dec 12, 2016, at 12:39 PM, Derek Foreman wrote: > > Check that all the objects in an event belong to the same client as > the resource posting it. This prevents a compositor from accidentally > mixing client objects and posting an event that causes a client to > abort with a cryp

[PATCH v4 wayland] wayland-server: log an error for events with wrong client objects

2016-12-12 Thread Derek Foreman
Check that all the objects in an event belong to the same client as the resource posting it. This prevents a compositor from accidentally mixing client objects and posting an event that causes a client to abort with a cryptic message. Instead the client will now be disconnected as it is when the