background: Add copied content from pending image loads to the cache

https://bugzilla.gnome.org/show_bug.cgi?id=719803
This commit is contained in:
Jasper St. Pierre 2013-12-03 18:09:23 -05:00
parent 5262a41619
commit 4cfb000812

View File

@ -188,6 +188,7 @@ const BackgroundCache = new Lang.Class({
if (content && pendingLoad.callers[j].shouldCopy) {
newContent = content.copy(pendingLoad.callers[j].monitorIndex,
pendingLoad.callers[j].effects);
this._images.push(newContent);
} else {
newContent = content;
}