Try to deal with wide screens

This commit is contained in:
Marco Pesenti Gritti 2007-01-31 11:30:57 -05:00
parent f196eb264e
commit 90d0c41cc9

View File

@ -79,7 +79,9 @@ else:
program = sys.argv[1]
fullscreen = (gtk.gdk.screen_width() <= 1200 or
gtk.gdk.screen_height() <= 900)
gtk.gdk.screen_height() <= 900) and \
(gtk.gdk.screen_width() / 4 * 3 ==
gtk.gdk.screen_height())
emulator = Emulator(fullscreen)
emulator.start()