diff --git a/bin/sugar-emulator b/bin/sugar-emulator
index 8c0aa8e..1ba1f5c 100644
a
|
b
|
def _start_xephyr(dpi, dimensions): |
78 | 78 | time.sleep(0.1) |
79 | 79 | |
80 | 80 | def _start_matchbox(): |
81 | | cmd = ['matchbox-window-manager'] |
| 81 | cmd = ['metacity'] |
82 | 82 | |
83 | | cmd.extend(['-use_titlebar', 'no']) |
84 | | cmd.extend(['-theme', 'sugar']) |
| 83 | #cmd.extend(['-use_titlebar', 'no']) |
| 84 | #cmd.extend(['-theme', 'sugar']) |
85 | 85 | |
86 | 86 | gobject.spawn_async(cmd, flags=gobject.SPAWN_SEARCH_PATH) |
87 | 87 | |
diff --git a/bin/sugar.in b/bin/sugar.in
index b9f467c..27ff830 100644
a
|
b
|
if [ -f ~/.sugar/debug ]; then |
16 | 16 | . ~/.sugar/debug |
17 | 17 | fi |
18 | 18 | |
19 | | matchbox-window-manager -use_titlebar no -theme sugar \ |
20 | | -kbdconfig @prefix@/share/sugar/data/kbdconfig & |
| 19 | #matchbox-window-manager -use_titlebar no -theme sugar \ |
| 20 | # -kbdconfig @prefix@/share/sugar/data/kbdconfig & |
| 21 | metacity & |
21 | 22 | |
22 | 23 | exec sugar-session |
diff --git a/src/jarabe/frame/framewindow.py b/src/jarabe/frame/framewindow.py
index 02bb131..5cb1241 100644
a
|
b
|
class FrameWindow(gtk.Window): |
93 | 93 | self.resize(self.size, gtk.gdk.screen_height()) |
94 | 94 | |
95 | 95 | def _realize_cb(self, widget): |
96 | | self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DIALOG) |
| 96 | self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DOCK) |
97 | 97 | self.window.set_accept_focus(False) |
98 | 98 | |
99 | 99 | def _enter_notify_cb(self, window, event): |
diff --git a/src/jarabe/model/shell.py b/src/jarabe/model/shell.py
index 561cbf6..ebaf363 100644
a
|
b
|
import gconf |
22 | 22 | import wnck |
23 | 23 | import gobject |
24 | 24 | import gtk |
| 25 | import gtk.gdk |
25 | 26 | import dbus |
26 | 27 | |
27 | 28 | from sugar import wm |
… |
… |
class ShellModel(gobject.GObject): |
457 | 458 | if activity_id: |
458 | 459 | home_activity = self.get_activity_by_id(activity_id) |
459 | 460 | |
| 461 | xid = window.get_xid() |
| 462 | gdkwin = gtk.gdk.window_foreign_new(xid) |
| 463 | gdkwin.set_decorations(gtk.gdk.DECOR_BORDER) |
| 464 | |
| 465 | window.maximize() |
| 466 | |
460 | 467 | if not home_activity: |
461 | 468 | home_activity = Activity(activity_info, activity_id, window) |
462 | 469 | self._add_activity(home_activity) |