From 489a9e61dbb4d56b5644b0c358e797bd54092c33 Mon Sep 17 00:00:00 2001
From: Simon Schampijer <simon@laptop.org>
Date: Fri, 19 Oct 2012 16:45:11 +0200
Subject: [PATCH shell] Hide/Show cursor based on input: make it available in
the intro screen
We just have to move it earlier in the startup phase.
Signed-off-by: Simon Schampijer <simon@laptop.org>
---
bin/sugar-session | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/sugar-session b/bin/sugar-session
index e465d75..23f88a1 100755
a
|
b
|
def bootstrap(): |
229 | 229 | GObject.idle_add(setup_frame_cb) |
230 | 230 | GObject.idle_add(setup_keyhandler_cb) |
231 | 231 | GObject.idle_add(setup_gesturehandler_cb) |
232 | | GObject.idle_add(setup_cursortracker_cb) |
233 | 232 | GObject.idle_add(setup_journal_cb) |
234 | 233 | GObject.idle_add(setup_notification_service_cb) |
235 | 234 | GObject.idle_add(setup_file_transfer_cb) |
… |
… |
def main(): |
297 | 296 | # even when we initially get blocked on the intro screen |
298 | 297 | GObject.idle_add(unfreeze_dcon_cb) |
299 | 298 | |
| 299 | GObject.idle_add(setup_cursortracker_cb) |
300 | 300 | # make sure we have the correct cursor in the intro screen |
301 | 301 | # TODO #3204 |
302 | 302 | if subprocess.call('echo $DISPLAY; xsetroot -cursor_name left_ptr', shell=True): |