diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-01-31 16:30:57 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-01-31 16:30:57 (GMT) |
commit | 90d0c41cc97d4a07a2d97596ff37ee69b081c172 (patch) | |
tree | dae202ec979ffa7a4122f375eb17fd62338ba58b /sugar-emulator | |
parent | f196eb264e4ce8c37fdd169f5d7c7c02f158d6a4 (diff) |
Try to deal with wide screens
Diffstat (limited to 'sugar-emulator')
-rwxr-xr-x | sugar-emulator | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sugar-emulator b/sugar-emulator index 4be7de5..aa620af 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() |