commit | aa4f4058ba8cde200e62ef3dafc4e1595f6033e9 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Wed Sep 09 09:57:01 2015 +0200 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Tue Sep 15 12:27:39 2015 +0200 |
tree | 86e3faeefcce9dc9edc5562ebfc45c2783966688 | |
parent | 007e620a7576e4ce2ea6955541e87d8ae8ed32ae [diff] |
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 <kraxel@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>