diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2015-09-09 09:57:01 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2015-09-15 12:27:39 +0200 |
commit | aa4f4058ba8cde200e62ef3dafc4e1595f6033e9 (patch) | |
tree | 86e3faeefcce9dc9edc5562ebfc45c2783966688 /ui/vnc.c | |
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>
Diffstat (limited to 'ui/vnc.c')
0 files changed, 0 insertions, 0 deletions