Re: [PATCH v3 weston] Introduce pointer locking and confinement protocol

2015-08-30 Thread Jonas Ådahl
On Wed, Aug 26, 2015 at 04:14:05PM -0500, Derek Foreman wrote: > On 23/08/15 10:19 PM, Jonas Ådahl wrote: > > On Sat, Aug 22, 2015 at 06:49:15PM -0500, Derek Foreman wrote: > >> Hi Jonas, > >> > >> Instead of a reasonable review, I'm going to mostly ask a bunch of noob > >> questions. Feel free to

Re: [PATCH v3 weston] Introduce pointer locking and confinement protocol

2015-08-26 Thread Derek Foreman
On 23/08/15 10:19 PM, Jonas Ådahl wrote: > On Sat, Aug 22, 2015 at 06:49:15PM -0500, Derek Foreman wrote: >> Hi Jonas, >> >> Instead of a reasonable review, I'm going to mostly ask a bunch of noob >> questions. Feel free to disregard if you don't have time to enlighten me... > > Thanks for the in

Re: [PATCH v3 weston] Introduce pointer locking and confinement protocol

2015-08-24 Thread Jonas Ådahl
On Mon, Aug 24, 2015 at 10:44:55AM -0700, Bill Spitzak wrote: > On Sun, Aug 23, 2015 at 8:19 PM, Jonas Ådahl wrote: > > > > > 1. the pointer "attaches" to the UI element. > > > > One would create a lock region on the scroll handle. When enabled one > > would hide the cursor, create an identical c

Re: [PATCH v3 weston] Introduce pointer locking and confinement protocol

2015-08-24 Thread Bill Spitzak
On Sun, Aug 23, 2015 at 8:19 PM, Jonas Ådahl wrote: > > 1. the pointer "attaches" to the UI element. > > One would create a lock region on the scroll handle. When enabled one > would hide the cursor, create an identical cursor surface and add it as > a subsurface positioning relative to the scrol

Re: [PATCH v3 weston] Introduce pointer locking and confinement protocol

2015-08-23 Thread Jonas Ådahl
On Sat, Aug 22, 2015 at 06:49:15PM -0500, Derek Foreman wrote: > Hi Jonas, > > Instead of a reasonable review, I'm going to mostly ask a bunch of noob > questions. Feel free to disregard if you don't have time to enlighten me... Thanks for the input. I'll answer inline. > > On 25/06/15 11:38 P

Re: [PATCH v3 weston] Introduce pointer locking and confinement protocol

2015-08-22 Thread Derek Foreman
Hi Jonas, Instead of a reasonable review, I'm going to mostly ask a bunch of noob questions. Feel free to disregard if you don't have time to enlighten me... On 25/06/15 11:38 PM, Jonas Ådahl wrote: > This patch introduces a new protocol for locking and confining a > pointer. It consists of a ne

Re: [PATCH v3 weston] Introduce pointer locking and confinement protocol

2015-06-26 Thread Bill Spitzak
On Thu, Jun 25, 2015 at 9:38 PM, Jonas Ådahl wrote: > This version adds support for changing the lock/confine region after the > lock was created. > > For pending wl_confined_pointer lock, the effect is the same as for > wl_locked_pointer. But for an already activated confinement, it affects the

[PATCH v3 weston] Introduce pointer locking and confinement protocol

2015-06-25 Thread Jonas Ådahl
This patch introduces a new protocol for locking and confining a pointer. It consists of a new global object with two requests; one for locking the surface to a position, one for confining the pointer to a given region. See pointer-lock.xml for details of the protocol. In this patch, only the loc