mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-08 05:57:43 +03:00
Fixed keyboard grab
This commit is contained in:
parent
1b4d5e5b1a
commit
ac9577ac9b
4
AUTHORS
4
AUTHORS
@ -16,7 +16,9 @@ Further patches have been submitted by:
|
||||
|
||||
William Sheehan <william-dot-sheehan-at-openinterface-dot-com>
|
||||
Karel Zak <kzak-at-redhat-dot-com>
|
||||
Damien Durand (splinux25-at-gmail-dot-com)
|
||||
Damien Durand <splinux25-at-gmail-dot-com>
|
||||
Charles Coffing <ccoffing-at-novell-dot-com>
|
||||
|
||||
|
||||
<...send a patch & get your name here...>
|
||||
|
||||
|
@ -424,7 +424,7 @@ class GRFBViewer(gtk.DrawingArea):
|
||||
|
||||
def set_autograb_keyboard(self, grab):
|
||||
self.autograbkey = grab
|
||||
if grab == False and grabbedKeyboard:
|
||||
if grab == False and self.grabbedKeyboard:
|
||||
self.ungrab_keyboard()
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user