The consensus seems to be that we need relative/raw motion and that it
should be orthogonal to clipping/grabbing. I have now tried my hand at
implementing relative motion by introducing a wl_relative_pointer (no
raw motion yet, but it should not be hard to extend the implementation
analogously). Th
> wl_pointer::enter event carries x,y, so even for relative pointer
> mode, it can tell at which point on the surface the pointer comes in.
> After that, the application can accumulate relative events to know the
> position inside the surface.
>
> Except that won't really work. I believe the relati
On Wed, 29 Aug 2012 20:35:34 -0500
Vincent Povirk wrote:
> > Yup, good points here. I think we could reuse the wl_pointer
> > interface, but just send relative motion in the motion event and it
> > should go throught the wl_seat capability feature as Daniel describes.
>
> With this approach, is
> Yup, good points here. I think we could reuse the wl_pointer
> interface, but just send relative motion in the motion event and it
> should go throught the wl_seat capability feature as Daniel describes.
With this approach, is it going to be possible to know both the
relative motion for an even
On Mon, Aug 27, 2012 at 01:45:17PM -0700, Daniel Stone wrote:
> Hi,
>
> On 27 August 2012 11:55, Philipp Brüschweiler wrote:
> > This request can be used to grab the pointer of a specified seat. A
> > pointer grabbed in this way will be made invisible and won't send any
> > more motion events. In
On Mon, 27 Aug 2012 13:45:17 -0700
Daniel Stone wrote:
> Hi,
>
> On 27 August 2012 11:55, Philipp Brüschweiler wrote:
> > This request can be used to grab the pointer of a specified seat. A
> > pointer grabbed in this way will be made invisible and won't send any
> > more motion events. Instead
Hi,
On 27 August 2012 11:55, Philipp Brüschweiler wrote:
> This request can be used to grab the pointer of a specified seat. A
> pointer grabbed in this way will be made invisible and won't send any
> more motion events. Instead it reports relative motion using the motion
> event on the returned
This request can be used to grab the pointer of a specified seat. A
pointer grabbed in this way will be made invisible and won't send any
more motion events. Instead it reports relative motion using the motion
event on the returned object.
A grab can be broken by the application by destroying the