From 1f10112d8ac2bb7609c23882bac6462a0f50af62 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Thu, 09 Jul 2009 18:43:44 +0000 Subject: Switch to metacity as the window manager. #602 --- (limited to 'bin/sugar-emulator') diff --git a/bin/sugar-emulator b/bin/sugar-emulator index acd5976..7f06609 100644 --- a/bin/sugar-emulator +++ b/bin/sugar-emulator @@ -88,11 +88,10 @@ def _start_xephyr(dpi, dimensions, fullscreen): tries -= 1 time.sleep(0.1) -def _start_matchbox(): - cmd = ['matchbox-window-manager'] +def _start_window_manager(): + cmd = ['metacity'] - cmd.extend(['-use_titlebar', 'no']) - cmd.extend(['-theme', 'sugar']) + cmd.extend(['--no-force-fullscreen']) gobject.spawn_async(cmd, flags=gobject.SPAWN_SEARCH_PATH) @@ -157,7 +156,7 @@ def main(): if not args: command.append('sugar') else: - _start_matchbox() + _start_window_manager() if args[0].endswith('.py'): command.append('python') -- cgit v0.9.1