[Sugar-devel] [PATCH sugar] Make sure we use the Sugar cursor in the intro screen, OLPC #10712

Sascha Silbe sascha-ml-reply-to-2011-4 at silbe.org
Mon Oct 24 08:25:15 EDT 2011


Excerpts from Simon Schampijer's message of 2011-10-18 17:37:17 +0200:
> As stated in the ticket Metacity sets the cursor after
> it's startup, so we need to make sure Metacity is already
> running before we set the cursor. This is what the current
> code has been doing. We do show the intro screen before
> the window manager may be available. For a non invasive
> bug fix that avoids races we just call 'xsetroot -cursor_name'
> another time before the intro screen is displayed.
> 
> We have a long history of setting the Sugar cursor with many
> races. To improve the situation SL #3204 is filed as a
> follow up.
[...]

A slightly different version of this patch (cosmetical changes only) was
ack'ed by me on #sugar and pushed as 7ca64e37 [1] (master) resp. 9a4e66c
[2] (sucrose-0.94).

Sascha

[1] https://git.sugarlabs.org/sugar/mainline/commit/7ca64e37d190e569b9bc356094db4b72e0241419
[2] https://git.sugarlabs.org/sugar/mainline/commit/9a4e66ceed9694df02af801b7bab52ad402e2416
-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20111024/f111c2c1/attachment.pgp>


More information about the Sugar-devel mailing list