Re: [Qemu-devel] [PATCH 1/6] gtk: check for existing grabs in gd_grab_{pointer, keyboard}

2015-09-09 Thread Marc-André Lureau
On Wed, Sep 9, 2015 at 11:28 AM, Gerd Hoffmann wrote: > 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 > --

[Qemu-devel] [PATCH 1/6] gtk: check for existing grabs in gd_grab_{pointer, keyboard}

2015-09-09 Thread Gerd Hoffmann
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 --- ui/gtk.c | 25 - 1 file changed, 20 insert