Try to deal with wide screens

master
Marco Pesenti Gritti 18 years ago
parent f196eb264e
commit 90d0c41cc9

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

Loading…
Cancel
Save