Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar-emulator
diff options
context:
space:
mode:
Diffstat (limited to 'sugar-emulator')
-rwxr-xr-xsugar-emulator2
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar-emulator b/sugar-emulator
index 190f98c..29b3b6f 100755
--- a/sugar-emulator
+++ b/sugar-emulator
@@ -48,7 +48,7 @@ if gtk.gdk.screen_width() / 4 * 3 == gtk.gdk.screen_height():
gtk.gdk.screen_height() <= 900)
else:
fullscreen = False
- height = gtk.gdk.screen_height() - 50
+ height = min(1200, gtk.gdk.screen_height() - 50)
width = height * 4 / 3
emulator = Emulator(width, height, fullscreen)