Try to deal with wide screens
This commit is contained in:
parent
f196eb264e
commit
90d0c41cc9
@ -79,7 +79,9 @@ else:
|
|||||||
program = sys.argv[1]
|
program = sys.argv[1]
|
||||||
|
|
||||||
fullscreen = (gtk.gdk.screen_width() <= 1200 or
|
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 = Emulator(fullscreen)
|
||||||
emulator.start()
|
emulator.start()
|
||||||
|
Loading…
Reference in New Issue
Block a user