Re: [Qemu-devel] Why X grabs for absolute windows?

2013-09-19 Thread Paolo Bonzini
Il 19/09/2013 12:18, Gerd Hoffmann ha scritto: > >> > Similar patches to SDL have been rejected before because it breaks the >> > API, so I don't see the bug in SDL getting resolved. > Oh, didn't realize the bug is in the sdl library. That is a bit more > complicated then. SDL would need a new g

Re: [Qemu-devel] Why X grabs for absolute windows?

2013-09-19 Thread Burton, Ross
On 19 September 2013 17:23, Paolo Bonzini wrote: >>> > Similar patches to SDL have been rejected before because it breaks the >>> > API, so I don't see the bug in SDL getting resolved. >> Oh, didn't realize the bug is in the sdl library. That is a bit more >> complicated then. SDL would need a n

Re: [Qemu-devel] Why X grabs for absolute windows?

2013-09-19 Thread Gerd Hoffmann
Hi, > I put printf statements in ui/sdl.c in sdl_grab_start() and _end(), > and entering the window with either tablet or wacom-tablet causes > those methods to be called and grabs taken. To the user it doesn't > appear to be grabbed as the grab gets released when the pointer > reaches the edge

Re: [Qemu-devel] Why X grabs for absolute windows?

2013-09-19 Thread Burton, Ross
On 19 September 2013 09:51, Gerd Hoffmann wrote: >> The documentation for qemu's input devices says: >> >> ‘tablet’ >> Pointer device that uses absolute coordinates (like a touchscreen). >> This means qemu is able to report the mouse position without having to >> grab the mouse. Also overrides the

Re: [Qemu-devel] Why X grabs for absolute windows?

2013-09-19 Thread Gerd Hoffmann
On Do, 2013-09-19 at 00:18 +0100, Burton, Ross wrote: > Hi, > > The documentation for qemu's input devices says: > > ‘tablet’ > Pointer device that uses absolute coordinates (like a touchscreen). > This means qemu is able to report the mouse position without having to > grab the mouse. Also overr

[Qemu-devel] Why X grabs for absolute windows?

2013-09-18 Thread Burton, Ross
Hi, The documentation for qemu's input devices says: ‘tablet’ Pointer device that uses absolute coordinates (like a touchscreen). This means qemu is able to report the mouse position without having to grab the mouse. Also overrides the PS/2 mouse emulation when activated. However, qemu does do X