Re: [PATCH wayland-protocols 1/2] Introduce wp_relative_pointer interface

2016-01-09 Thread Daniel Stone
Hi, On 5 January 2016 at 01:10, Jonas Ådahl wrote: > On Mon, Jan 04, 2016 at 02:09:16PM +1000, Peter Hutterer wrote: >> On Fri, Jan 01, 2016 at 04:00:33PM +, Daniel Stone wrote: >> > My only concern with this is that, as Peter said, it could be >> > potentially difficult to correlate the two

Re: [PATCH wayland-protocols 1/2] Introduce wp_relative_pointer interface

2016-01-04 Thread Jonas Ådahl
On Mon, Jan 04, 2016 at 02:09:16PM +1000, Peter Hutterer wrote: > On Fri, Jan 01, 2016 at 04:00:33PM +, Daniel Stone wrote: > > Hi Jonas, > > > > On 17 November 2015 at 10:09, Jonas Ådahl wrote: > > > + > > > + > > > + [...] > > > + > > > + Relative motions are not coupl

Re: [PATCH wayland-protocols 1/2] Introduce wp_relative_pointer interface

2016-01-03 Thread Peter Hutterer
On Fri, Jan 01, 2016 at 04:00:33PM +, Daniel Stone wrote: > Hi Jonas, > > On 17 November 2015 at 10:09, Jonas Ådahl wrote: > > + > > + > > + [...] > > + > > + Relative motions are not coupled to wl_pointer.motion events, and > > can be > > + sent in combination wi

Re: [PATCH wayland-protocols 1/2] Introduce wp_relative_pointer interface

2016-01-01 Thread Daniel Stone
Hi Jonas, On 17 November 2015 at 10:09, Jonas Ådahl wrote: > + > + > + [...] > + > + Relative motions are not coupled to wl_pointer.motion events, and can > be > + sent in combination with such events, but also independently. There > may > + also be scenarious

Re: Lifetime of wl_seat objects (was Re: [PATCH wayland-protocols 1/2] Introduce wp_relative_pointer) interface

2015-11-30 Thread Daniel Stone
Hi, On 24 November 2015 at 06:39, Jonas Ådahl wrote: >> > Meh. This just spells out what weston does, and then asks clients not to >> > rely on it. Spelling it out that it might work I suspect will just >> > confuse users. >> >> I'm aware of that, but the important bit here is that *it spells it

Re: Lifetime of wl_seat objects (was Re: [PATCH wayland-protocols 1/2] Introduce wp_relative_pointer) interface

2015-11-30 Thread Daniel Stone
On 24 November 2015 at 00:21, Peter Hutterer wrote: > bad. in X we had cases where a client would run multiple versions of the > same protocol (the toolkit would support XI2.0, a toolkit plugin XI2.2). I > don't know whether that's likely to happen in wayland, but generally you > cannot define the

Re: [PATCH wayland-protocols 1/2] Introduce wp_relative_pointer interface

2015-11-23 Thread Jonas Ådahl
On Mon, Nov 23, 2015 at 03:24:20PM -0600, Derek Foreman wrote: > On 17/11/15 04:09 AM, Jonas Ådahl wrote: > > The wp_relative_pointer interface is an extension to the wl_pointer > > interface created from wl_seat. It has the same focus, but adds the > > functionality of sending relative pointer mot

Re: Lifetime of wl_seat objects (was Re: [PATCH wayland-protocols 1/2] Introduce wp_relative_pointer) interface

2015-11-23 Thread Jonas Ådahl
On Tue, Nov 24, 2015 at 03:11:26PM +1000, Peter Hutterer wrote: > On Tue, Nov 24, 2015 at 11:44:54AM +0800, Jonas Ådahl wrote: > > On Tue, Nov 24, 2015 at 10:21:45AM +1000, Peter Hutterer wrote: > > > On Mon, Nov 23, 2015 at 12:01:01PM -0600, Derek Foreman wrote: > > > > On 23/11/15 12:32 AM, Jonas

Re: Lifetime of wl_seat objects (was Re: [PATCH wayland-protocols 1/2] Introduce wp_relative_pointer) interface

2015-11-23 Thread Peter Hutterer
On Tue, Nov 24, 2015 at 11:44:54AM +0800, Jonas Ådahl wrote: > On Tue, Nov 24, 2015 at 10:21:45AM +1000, Peter Hutterer wrote: > > On Mon, Nov 23, 2015 at 12:01:01PM -0600, Derek Foreman wrote: > > > On 23/11/15 12:32 AM, Jonas Ådahl wrote: > > > > On Mon, Nov 23, 2015 at 02:42:09PM +1000, Peter Hu

Re: Lifetime of wl_seat objects (was Re: [PATCH wayland-protocols 1/2] Introduce wp_relative_pointer) interface

2015-11-23 Thread Jonas Ådahl
On Tue, Nov 24, 2015 at 10:21:45AM +1000, Peter Hutterer wrote: > On Mon, Nov 23, 2015 at 12:01:01PM -0600, Derek Foreman wrote: > > On 23/11/15 12:32 AM, Jonas Ådahl wrote: > > > On Mon, Nov 23, 2015 at 02:42:09PM +1000, Peter Hutterer wrote: > > >> On Fri, Nov 20, 2015 at 02:59:50PM +0800, Jonas

Re: Lifetime of wl_seat objects (was Re: [PATCH wayland-protocols 1/2] Introduce wp_relative_pointer) interface

2015-11-23 Thread Jonas Ådahl
On Mon, Nov 23, 2015 at 12:01:01PM -0600, Derek Foreman wrote: > On 23/11/15 12:32 AM, Jonas Ådahl wrote: > > On Mon, Nov 23, 2015 at 02:42:09PM +1000, Peter Hutterer wrote: > >> On Fri, Nov 20, 2015 at 02:59:50PM +0800, Jonas Ådahl wrote: > >> [...] > > + > > + > > + > >>

Re: Lifetime of wl_seat objects (was Re: [PATCH wayland-protocols 1/2] Introduce wp_relative_pointer) interface

2015-11-23 Thread Peter Hutterer
On Mon, Nov 23, 2015 at 12:01:01PM -0600, Derek Foreman wrote: > On 23/11/15 12:32 AM, Jonas Ådahl wrote: > > On Mon, Nov 23, 2015 at 02:42:09PM +1000, Peter Hutterer wrote: > >> On Fri, Nov 20, 2015 at 02:59:50PM +0800, Jonas Ådahl wrote: > >> [...] > > + > > + > > + > >>

Re: [PATCH wayland-protocols 1/2] Introduce wp_relative_pointer interface

2015-11-23 Thread Mariusz Ceier
Hi, On 17 November 2015 at 11:09, Jonas Ådahl wrote: > The wp_relative_pointer interface is an extension to the wl_pointer > interface created from wl_seat. It has the same focus, but adds the > functionality of sending relative pointer motions unhindered by > constraints such as monitor edges o

Re: [PATCH wayland-protocols 1/2] Introduce wp_relative_pointer interface

2015-11-23 Thread Derek Foreman
On 23/11/15 03:24 PM, Derek Foreman wrote: > On 17/11/15 04:09 AM, Jonas Ådahl wrote: >> The wp_relative_pointer interface is an extension to the wl_pointer >> interface created from wl_seat. It has the same focus, but adds the >> functionality of sending relative pointer motions unhindered by >> c

Re: [PATCH wayland-protocols 1/2] Introduce wp_relative_pointer interface

2015-11-23 Thread Derek Foreman
On 17/11/15 04:09 AM, Jonas Ådahl wrote: > The wp_relative_pointer interface is an extension to the wl_pointer > interface created from wl_seat. It has the same focus, but adds the > functionality of sending relative pointer motions unhindered by > constraints such as monitor edges or other barrier

Re: Lifetime of wl_seat objects (was Re: [PATCH wayland-protocols 1/2] Introduce wp_relative_pointer) interface

2015-11-23 Thread Derek Foreman
On 23/11/15 12:32 AM, Jonas Ådahl wrote: > On Mon, Nov 23, 2015 at 02:42:09PM +1000, Peter Hutterer wrote: >> On Fri, Nov 20, 2015 at 02:59:50PM +0800, Jonas Ådahl wrote: >> [...] > + > + > + > + Should we add something about pairing this with wl_seat capabil

Re: Lifetime of wl_seat objects (was Re: [PATCH wayland-protocols 1/2] Introduce wp_relative_pointer) interface

2015-11-22 Thread Jonas Ådahl
On Mon, Nov 23, 2015 at 02:42:09PM +1000, Peter Hutterer wrote: > On Fri, Nov 20, 2015 at 02:59:50PM +0800, Jonas Ådahl wrote: > [...] > > > > + > > > > + > > > > + > > > > + > > > > > > Should we add something about pairing this with wl_seat capabilities here? > > > Just looking at

Lifetime of wl_seat objects (was Re: [PATCH wayland-protocols 1/2] Introduce wp_relative_pointer) interface

2015-11-22 Thread Peter Hutterer
On Fri, Nov 20, 2015 at 02:59:50PM +0800, Jonas Ådahl wrote: [...] > > > + > > > + > > > + > > > + > > > > Should we add something about pairing this with wl_seat capabilities here? > > Just looking at this protocol doesn't make it clear what happens if the > > compositor drops the w

Re: [PATCH wayland-protocols 1/2] Introduce wp_relative_pointer interface

2015-11-19 Thread Jonas Ådahl
On Thu, Nov 19, 2015 at 10:09:48AM +1000, Peter Hutterer wrote: > On Tue, Nov 17, 2015 at 06:09:17PM +0800, Jonas Ådahl wrote: > > The wp_relative_pointer interface is an extension to the wl_pointer > > interface created from wl_seat. It has the same focus, but adds the > > functionality of sending

Re: [PATCH wayland-protocols 1/2] Introduce wp_relative_pointer interface

2015-11-18 Thread Peter Hutterer
On Tue, Nov 17, 2015 at 06:09:17PM +0800, Jonas Ådahl wrote: > The wp_relative_pointer interface is an extension to the wl_pointer > interface created from wl_seat. It has the same focus, but adds the > functionality of sending relative pointer motions unhindered by > constraints such as monitor ed

[PATCH wayland-protocols 1/2] Introduce wp_relative_pointer interface

2015-11-17 Thread Jonas Ådahl
The wp_relative_pointer interface is an extension to the wl_pointer interface created from wl_seat. It has the same focus, but adds the functionality of sending relative pointer motions unhindered by constraints such as monitor edges or other barriers. It also contains unaccelerated pointer motion