gtk: Remember the last grabbed pointer position
commitecce1929bcb0d8f4efde39df5ceb1aac42df75d4
authorTakashi Iwai <tiwai@suse.de>
Fri, 4 Apr 2014 10:41:23 +0000 (4 12:41 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 7 Apr 2014 08:10:16 +0000 (7 10:10 +0200)
tree95254c75b21d7b7529aa9cc3794c3621a9cacd44
parente61031cdd81826c433a8bbfa3aca2bae4ffaf845
gtk: Remember the last grabbed pointer position

It's pretty annoying that the pointer reappears at a random place once
after grabbing and ungrabbing the input.  Better to restore to the
original position where the pointer was grabbed.

Reference: https://bugzilla.novell.com/show_bug.cgi?id=849587
Tested-by: Cole Robinson <crobinso@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
Tested-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/gtk.c