Screen re-sizing now works

This commit is contained in:
Tim Bentley 2010-08-26 17:51:27 +01:00
parent 2e6c06ad1f
commit ba4821e5f8
2 changed files with 2 additions and 0 deletions

View File

@ -77,6 +77,7 @@ class RenderManager(object):
self.display = MainDisplay(self, self.screens, False) self.display = MainDisplay(self, self.screens, False)
self.display.setup() self.display.setup()
self.renderer.bg_frame = None self.renderer.bg_frame = None
self.themedata = None
def set_global_theme(self, global_theme, theme_level=ThemeLevel.Global): def set_global_theme(self, global_theme, theme_level=ThemeLevel.Global):
""" """

View File

@ -743,6 +743,7 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow):
The screen has changed to so tell the displays to update_display The screen has changed to so tell the displays to update_display
their locations their locations
""" """
log.debug(u'screenChanged')
self.RenderManager.update_display() self.RenderManager.update_display()
self.setFocus() self.setFocus()
self.activateWindow() self.activateWindow()