summary refs log tree commit diff stats
path: root/hw/xen_backend.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2010-03-10 09:42:58 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2010-03-19 15:27:38 -0500
commit3af12c86d9db42c826dc9a7577b657543baf7fab (patch)
tree6c2856fe803e158f4e6083737757624a9388fb49 /hw/xen_backend.h
parent37c34d9d5d87ea9d51760310c8863b82cb8c055a (diff)
downloadfocaccia-qemu-3af12c86d9db42c826dc9a7577b657543baf7fab.tar.gz
focaccia-qemu-3af12c86d9db42c826dc9a7577b657543baf7fab.zip
sdl: use mouse mode notifier
Today we poll the mouse mode whenever there is a mouse movement.  There is a
subtle usability problem with this though.

If we're in relative mode and grab is enabled, when we change to absolute mode,
we break grab.  This gives a user a seamless transition when the new pointer
is enabled.

But because we poll for mouse change, this grab break won't occur until the user
attempts to move the mouse.  By using notifiers, the grab break happens as soon
as possible.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/xen_backend.h')
0 files changed, 0 insertions, 0 deletions