Attempt to fix a hang in tunnellet X11 situations. Closes LP#943171

This commit is contained in:
Chris Jones 2012-10-18 14:37:46 -07:00
parent 3f0b50f7f9
commit 6da60c043b
1 changed files with 4 additions and 3 deletions

View File

@ -351,6 +351,7 @@ class Config(object):
self.gconf = gconf.client_get_default() self.gconf = gconf.client_get_default()
value = self.gconf.get('/apps/metacity/general/focus_mode') value = self.gconf.get('/apps/metacity/general/focus_mode')
if value:
self.system_focus = value.get_string() self.system_focus = value.get_string()
self.gconf.notify_add('/apps/metacity/general/focus_mode', self.gconf.notify_add('/apps/metacity/general/focus_mode',
self.on_gconf_notify) self.on_gconf_notify)