Sugar Learning Environment, Activity Toolkit, GTK 3.
Go to file
James Cameron a6e62a52b6
Fix screen resize race
When an external monitor is connected or disconnected, about 25% of the
time an activity does not resize correctly; a size-changed signal occurs
but the workarea geometry has not changed.

Underlying problem is an update race in get_monitor_workarea, so the fix
is to call get_monitor_geometry for obtaining the width and height.

Can be reproduced easily without an external monitor by switching
display panel resolution repeatedly;

    xrandr --output eDP1 --mode 1024x768
    xrandr --output eDP1 --mode 1366x768

Part of a fix for https://bugs.sugarlabs.org/ticket/4968
2017-01-02 04:38:37 -03:00
bin sugar-activity: typo 2016-10-08 11:06:57 +11:00
doc Release Sugar 0.110.0 stable 2016-10-07 21:49:00 +11:00
examples Write documentation for sugar3.graphics.ToggleToolButton 2016-12-31 07:57:52 +11:00
m4 Add simple toolbars example 2009-07-10 04:07:10 +00:00
po Disabled aym language due to missing po files. 2016-12-03 03:19:32 -03:00
src Fix screen resize race 2017-01-02 04:38:37 -03:00
tests Implement mime.get_mime_parents using python 2014-03-08 15:34:23 +01:00
.gitignore Add generated doc files to the gitignore 2016-06-18 12:30:53 +10:00
AUTHORS Add AUTHORS file 2007-09-25 15:49:52 +02:00
autogen.sh Modernize gettext setup 2014-03-30 11:54:48 +01:00
configure.ac Release Sugar 0.110.0 stable 2016-10-07 21:49:00 +11:00
COPYING Make it distcheck. Fix license. 2008-02-06 16:43:10 +01:00
MAINTAINERS Add MAINTAINERS file 2011-12-13 17:37:50 -03:00
make-doc.sh Change make-doc.sh interpreter 2015-12-30 00:11:40 -05:00
Makefile.am Add missing translations 2014-03-30 11:58:36 +01:00
README Test commit 2014-05-11 22:21:12 +02:00

Sugar is the core of the OLPC Human Interface. The toolkit provides
a set of widgets to build HIG compliant applications and interfaces
to interact with system services like presence and the datastore.