Re: Pointer lock and warping

2013-04-25 Thread Bill Spitzak
Vincent Povirk wrote: When the client receives a mouse-down event, it knows it is in this mode. The mode is exited when all the mouse buttons are released. Um, wouldn't this mean that in order to get "normal" cursor behavior while a button is held down, all clients have to echo the mouse even

Re: Pointer lock and warping

2013-04-25 Thread Pekka Paalanen
On Wed, 24 Apr 2013 23:22:50 -0500 Vincent Povirk wrote: > I think that for any mouse input "filtering" system to work correctly > (including pq's proposal), a client needs to inform the compositor > when ending the grab of the last event that it was interested in > (normally a mouse up), so the

Re: Pointer lock and warping

2013-04-24 Thread Vincent Povirk
> When the client receives a mouse-down event, it knows it is in this mode. > The mode is exited when all the mouse buttons are released. > > While in this mode the mouse position is reported as though the user is > dragging over a very large torus surface (ie it wraps at very large > integers), th

Re: Pointer lock and warping

2013-04-24 Thread Bill Spitzak
On 04/24/2013 12:12 AM, Pekka Paalanen wrote: How do you make the cursor not blink when switching between the real and fake one? Draw your own first, then hide the cursor, hope that there are no surface transforms in effect. That does not work if the cursor has any transparency. The paintin

Re: Pointer lock and warping

2013-04-24 Thread Pekka Paalanen
On Tue, 23 Apr 2013 08:47:59 -0700 Bill Spitzak wrote: > On 04/23/2013 12:11 AM, Pekka Paalanen wrote: > > > Here's a lot simpler solution for non-jittery dragging of objects: just > > hide the pointer cursor, when starting the move. If you still want the > > pointer cursor visible, draw it your

Re: Pointer lock and warping

2013-04-23 Thread Bill Spitzak
On 04/23/2013 12:11 AM, Pekka Paalanen wrote: Here's a lot simpler solution for non-jittery dragging of objects: just hide the pointer cursor, when starting the move. If you still want the pointer cursor visible, draw it yourself with the object you are moving. That is already possible today, an

Re: Pointer lock and warping

2013-04-23 Thread Pekka Paalanen
On Mon, 22 Apr 2013 19:48:14 -0700 Bill Spitzak wrote: > Thinking about Todd Showalter's requests for pointer warping, I think > in fact a correctly-behaving Wayland app will always want pointer > warping and incremental update when the mouse is held down. This > would require a major change in t

Pointer lock and warping

2013-04-22 Thread Bill Spitzak
Thinking about Todd Showalter's requests for pointer warping, I think in fact a correctly-behaving Wayland app will always want pointer warping and incremental update when the mouse is held down. This would require a major change in the mouse api, though I think the differences in back-compatib