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:
Cole Robinson 2014-05-31 19:40:18 -04:00
parent 506791157e
commit d17cf4a223

View File

@ -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)