Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsugar-emulator2
1 files changed, 2 insertions, 0 deletions
diff --git a/sugar-emulator b/sugar-emulator
index 01c7b39..1567458 100755
--- a/sugar-emulator
+++ b/sugar-emulator
@@ -42,6 +42,8 @@ if len(sys.argv) == 1:
else:
program = sys.argv[1]
+# Various things in sugar currently depend on the screen size being in
+# a width:height porportion of 4:3.
width = height = -1
if gtk.gdk.screen_width() / 4 * 3 == gtk.gdk.screen_height():
fullscreen = (gtk.gdk.screen_width() <= 1200 or