mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-26 10:03:54 +03:00
console: vnc: Don't force keyboard grab before widget is realized
Causes gtk warnings on the console, and the code was mistaken anyways
This commit is contained in:
parent
506791157e
commit
d17cf4a223
@ -464,7 +464,6 @@ class VNCViewer(Viewer):
|
||||
|
||||
def set_grab_keyboard(self):
|
||||
self.display.set_keyboard_grab(self.config.get_grab_keyboard())
|
||||
self.display.force_grab(self.config.get_grab_keyboard())
|
||||
|
||||
def _desktop_resize(self, src_ignore, w, h):
|
||||
self.desktop_resolution = (w, h)
|
||||
|
Loading…
x
Reference in New Issue
Block a user