Re: [Spice-devel] [Qemu-devel] Re: paravirtual mouse/tablet

2011-01-14 Thread Alon Levy
On Fri, Jan 14, 2011 at 02:52:35PM +, Daniel P. Berrange wrote: > On Fri, Jan 14, 2011 at 04:28:52PM +0200, Alon Levy wrote: > > On Fri, Jan 14, 2011 at 10:48:50AM +, Daniel P. Berrange wrote: > > > On Fri, Jan 14, 2011 at 09:49:40AM +0100, Gerd Hoffmann wrote: > > > > >>>That maybe implies

Re: [Spice-devel] [Qemu-devel] Re: paravirtual mouse/tablet

2011-01-14 Thread Daniel P. Berrange
On Fri, Jan 14, 2011 at 04:28:52PM +0200, Alon Levy wrote: > On Fri, Jan 14, 2011 at 10:48:50AM +, Daniel P. Berrange wrote: > > On Fri, Jan 14, 2011 at 09:49:40AM +0100, Gerd Hoffmann wrote: > > > >>>That maybe implies that we need an offscreen coordinate for the > > > >>>mouse so that you can

Re: [Spice-devel] [Qemu-devel] Re: paravirtual mouse/tablet

2011-01-14 Thread Daniel P. Berrange
On Fri, Jan 14, 2011 at 09:49:40AM +0100, Gerd Hoffmann wrote: > >>>That maybe implies that we need an offscreen coordinate for the > >>>mouse so that you can hide the mouse when it leaves one window. > >> > >>Hmm? I fail to see why multihead is special here. > > > >If you show two mice in the gues

Re: [Spice-devel] [Qemu-devel] Re: paravirtual mouse/tablet

2011-01-14 Thread Alon Levy
On Fri, Jan 14, 2011 at 10:48:50AM +, Daniel P. Berrange wrote: > On Fri, Jan 14, 2011 at 09:49:40AM +0100, Gerd Hoffmann wrote: > > >>>That maybe implies that we need an offscreen coordinate for the > > >>>mouse so that you can hide the mouse when it leaves one window. > > >> > > >>Hmm? I fail

Re: [Spice-devel] [Qemu-devel] Re: paravirtual mouse/tablet

2011-01-14 Thread Anthony Liguori
On 01/14/2011 04:48 AM, Daniel P. Berrange wrote: NB having all mice bound to one cursor is merely the historical default behaviour. IIUC the recent "Multi-Pointer X" feature lets you now have multiple cursors, one per pointing device. https://secure.wikimedia.org/wikipedia/en/wiki/Multi-Pointer

Re: [Spice-devel] [Qemu-devel] Re: paravirtual mouse/tablet

2011-01-14 Thread Gerd Hoffmann
Hi, I think that has to be outside of the device. There are so many ways to map mice to multi heads. In fact, one mouse could easily map to a single device. It's almost something that really should be part of the guest configuration. Ok, reasonable. Multihead with spice pretty much requires

Re: [Spice-devel] [Qemu-devel] Re: paravirtual mouse/tablet

2011-01-13 Thread Anthony Liguori
On 01/13/2011 11:08 AM, Gerd Hoffmann wrote: On 01/13/11 16:55, Anthony Liguori wrote: On 01/13/2011 05:51 AM, Gerd Hoffmann wrote: On 01/13/11 12:01, Stefan Hajnoczi wrote: Can you elaborate how the spice display channel comes into play? On a physical machine you just have input devices with

Re: [Spice-devel] [Qemu-devel] Re: paravirtual mouse/tablet

2011-01-13 Thread Gerd Hoffmann
On 01/13/11 16:55, Anthony Liguori wrote: On 01/13/2011 05:51 AM, Gerd Hoffmann wrote: On 01/13/11 12:01, Stefan Hajnoczi wrote: Can you elaborate how the spice display channel comes into play? On a physical machine you just have input devices with no notion of display. It's up to the windowin

Re: [Spice-devel] [Qemu-devel] Re: paravirtual mouse/tablet

2011-01-13 Thread Anthony Liguori
On 01/13/2011 05:51 AM, Gerd Hoffmann wrote: On 01/13/11 12:01, Stefan Hajnoczi wrote: Can you elaborate how the spice display channel comes into play? On a physical machine you just have input devices with no notion of display. It's up to the windowing system to process input events and hand