Conditionalize use of gdk_keyboard_grab / gdk_keyboard_ungrab
commit655199da197d2c3407d4bc937c9d3d3ac4551764
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 25 Feb 2013 15:20:36 +0000 (25 15:20 +0000)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 26 Feb 2013 19:29:51 +0000 (26 13:29 -0600)
treeb6424c0c5c02ab5c9cab6d346a50c4099d4115d1
parent66962f14378d0adf2e7d0fcfac66e2248b09bb4d
Conditionalize use of gdk_keyboard_grab / gdk_keyboard_ungrab

On GTK3 there is support for multiple keyboard devices, so
rather than using  gdk_keyboard_grab / gdk_keyboard_ungrab
we should iterate over all devices, grabbing each one in
turn

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 1361805646-6425-4-git-send-email-berrange@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
ui/gtk.c