[Spice-devel] [Qemu-devel] Re: paravirtual mouse/tablet
Daniel P. Berrange
berrange at redhat.com
Fri Jan 14 06:52:35 PST 2011
On Fri, Jan 14, 2011 at 04:28:52PM +0200, Alon Levy wrote:
> On Fri, Jan 14, 2011 at 10:48:50AM +0000, 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 to see why multihead is special here.
> > > >
> > > >If you show two mice in the guest, would X render two cursors?
> > >
> > > With two mice you still have just one cursor. Just plug a usb mouse
> > > into your laptop, you can move the single pointer with both usb
> > > mouse and touchpad then. Didn't try what happens with two tablets,
> > > but I expect it wouldn't be different ...
> >
> > 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_X
>
> Yes, you can enable that, and if we want to have multiple pointers then
> they shouldn't disappear - that would be the case if multiple users
> where connected, each with their own cursor. You expect the non active cursor
> to remain (maybe X hides it after some seconds of inactivity, guest
> specific).
Multi-Pointer X isn't just about allowing different users
to have their own pointer. It is explicitly designed to allow
one person to control multiple pointers at the same time and
to allow applications to receive events from multiple devices
concurrently.
Regards,
Daniel
More information about the Spice-devel
mailing list