Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDipankar Patro <dipankar@seeta.in>2010-09-27 23:35:35 (GMT)
committer Sascha Silbe <sascha-pgp@silbe.org>2010-11-30 18:03:57 (GMT)
commit1cce2c71400ef889b9d756c2077cca6e50929c76 (patch)
tree0c8c789cd0372b924a562332460aff8cd258ef42
parent760deeb2a9eb3d840451823aa3b868b94c388f34 (diff)
Run Sugar-Emulator in fullscreen by default if the screen is <=800x600 (SL #2180)
Previously some bottom part of sugar emulator window was pushed out of viewing area at 800x600 system resolution. The patch opens Sugar-emulator in fullscreen mode by default for resolutions <= 800x600 to avoid the above mentioned situation. Acked-By: Tomeu Vizoso <tomeu@sugarlabs.org>
-rw-r--r--src/jarabe/util/emulator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jarabe/util/emulator.py b/src/jarabe/util/emulator.py
index 6a43044..cc112c9 100644
--- a/src/jarabe/util/emulator.py
+++ b/src/jarabe/util/emulator.py
@@ -42,7 +42,7 @@ def _run_xephyr(display, dpi, dimensions, fullscreen):
screen_size = (gtk.gdk.screen_width(), gtk.gdk.screen_height())
if (not dimensions) and (fullscreen is None) and \
- (screen_size < default_dimensions) :
+ (screen_size <= default_dimensions) :
# no forced settings, screen too small => fit screen
fullscreen = True
elif (not dimensions) :