From 90d0c41cc97d4a07a2d97596ff37ee69b081c172 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Wed, 31 Jan 2007 11:30:57 -0500 Subject: [PATCH] Try to deal with wide screens --- sugar-emulator | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sugar-emulator b/sugar-emulator index 4be7de5d..aa620af5 100755 --- a/sugar-emulator +++ b/sugar-emulator @@ -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()