From 4c192c4c73e7899e36fdfe57619c2b70b85cceb5 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Wed, 14 Feb 2007 14:34:34 +0000 Subject: Do not exceed 1200x900 --- (limited to 'sugar-emulator') 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) -- cgit v0.9.1