Re: [PATCH v2 wayland] protocol: specify behavior of get_pointer when capabilities change

2015-12-06 Thread Jonas Ådahl
On Mon, Dec 07, 2015 at 03:08:19PM +1000, Peter Hutterer wrote: > On Fri, Dec 04, 2015 at 09:01:09AM +0800, Jonas Ådahl wrote: > > On Fri, Dec 04, 2015 at 10:34:34AM +1000, Peter Hutterer wrote: > > > Also applies to touch/keyboard > > > > > > Signed-off-by: Peter Hutterer > > > --- > > > Changes

Re: [PATCH v2 wayland] protocol: specify behavior of get_pointer when capabilities change

2015-12-06 Thread Peter Hutterer
On Fri, Dec 04, 2015 at 09:01:09AM +0800, Jonas Ådahl wrote: > On Fri, Dec 04, 2015 at 10:34:34AM +1000, Peter Hutterer wrote: > > Also applies to touch/keyboard > > > > Signed-off-by: Peter Hutterer > > --- > > Changes to v1: > > - make it clear that from the next version onwards sending events

Re: [PATCH v2 wayland] protocol: specify behavior of get_pointer when capabilities change

2015-12-04 Thread Bill Spitzak
This seems more complex than is needed. My impression is that there are a non-zero set of version<5 compositors that implement the new behaviour. Therefore a client that relies on the incorrect behavior is broken even if it requests a version < 5, as it will fail with some compositors. I think you

Re: [PATCH v2 wayland] protocol: specify behavior of get_pointer when capabilities change

2015-12-03 Thread Jonas Ådahl
On Fri, Dec 04, 2015 at 10:34:34AM +1000, Peter Hutterer wrote: > Also applies to touch/keyboard > > Signed-off-by: Peter Hutterer > --- > Changes to v1: > - make it clear that from the next version onwards sending events to an > earlier wl_pointer object is a no-no. > > protocol/wayland.xml

[PATCH v2 wayland] protocol: specify behavior of get_pointer when capabilities change

2015-12-03 Thread Peter Hutterer
Also applies to touch/keyboard Signed-off-by: Peter Hutterer --- Changes to v1: - make it clear that from the next version onwards sending events to an earlier wl_pointer object is a no-no. protocol/wayland.xml | 36 +--- 1 file changed, 33 insertions(+), 3 del