gnome-shell/js
Lionel Landwerlin 1020d8a0f8 background: fix asynchronous management of background loading operations
This fixes a blue background being drawn when switching the monitors
configuration using hardware keys
(clone/multimonitor/external/internal).

The problem is that the shell gather all background loading requests
under the same meta_background_load_file_async call using one
GCancellable (the first one to come). So when the shell receives a
batch of 12 or so XRandr events, it creates 12 new background managers
which end up trying to load 12 times the same background picture. All
of these requests are batched into the same
meta_background_load_file_async using the first GCancellable received
on the first request. Unfortunately, when the first request is
cancelled by the following event indicating a new monitor setup, all
of the background picture requests are dropped on the floor, and
nothing gets loaded (hence the blue screen background).

https://bugzilla.gnome.org/show_bug.cgi?id=703001
2013-07-03 17:05:30 +01:00
..
extensionPrefs extensionPrefs: Fix opening extension preferences on startup 2013-02-28 15:37:29 +01:00
gdm gdm: clear the messages queue when the user answers a prompt 2013-06-18 11:56:33 -03:00
misc loginManager.js: Check for logind, not for systemd 2013-03-29 11:00:52 +01:00
perf perf: Update to latest overlay changes 2012-08-20 20:40:01 +02:00
ui background: fix asynchronous management of background loading operations 2013-07-03 17:05:30 +01:00
Makefile.am Expose screencast functionality via DBus 2013-05-10 19:49:41 +02:00