]> Git Repo - qemu.git/commit - ui/gtk.c
gtk: check for existing grabs in gd_grab_{pointer,keyboard}
authorGerd Hoffmann <[email protected]>
Wed, 9 Sep 2015 07:57:01 +0000 (09:57 +0200)
committerGerd Hoffmann <[email protected]>
Tue, 15 Sep 2015 10:27:39 +0000 (12:27 +0200)
commitaa4f4058ba8cde200e62ef3dafc4e1595f6033e9
tree86e3faeefcce9dc9edc5562ebfc45c2783966688
parent007e620a7576e4ce2ea6955541e87d8ae8ed32ae
gtk: check for existing grabs in gd_grab_{pointer,keyboard}

If a grab is already active for our window, do nothing.
If a grab is already active for another window, release it.

Cleanup some checks and ungrab calls in the code which are
not needed any more.

Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Marc-AndrĂ© Lureau <[email protected]>
ui/gtk.c
This page took 0.025797 seconds and 4 git commands to generate.