Pass the X dpi to Xephyr. Default to a minimum of 96, some distros appear to be broken.
This commit is contained in:
+4
-1
@@ -36,6 +36,7 @@ else:
|
||||
from sugar import env
|
||||
from sugar import util
|
||||
from sugar.emulator import Emulator
|
||||
import _sugar
|
||||
|
||||
if len(sys.argv) == 1:
|
||||
program = 'sugar-shell'
|
||||
@@ -51,7 +52,9 @@ else:
|
||||
width = 1200
|
||||
height = 900
|
||||
|
||||
emulator = Emulator(width, height, fullscreen)
|
||||
dpi = min(_sugar.get_screen_dpi(), 96)
|
||||
|
||||
emulator = Emulator(width, height, fullscreen, dpi)
|
||||
emulator.start()
|
||||
|
||||
if sourcedir:
|
||||
|
||||
Reference in New Issue
Block a user