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:
parent
5262a41619
commit
4cfb000812
@ -188,6 +188,7 @@ const BackgroundCache = new Lang.Class({
|
|||||||
if (content && pendingLoad.callers[j].shouldCopy) {
|
if (content && pendingLoad.callers[j].shouldCopy) {
|
||||||
newContent = content.copy(pendingLoad.callers[j].monitorIndex,
|
newContent = content.copy(pendingLoad.callers[j].monitorIndex,
|
||||||
pendingLoad.callers[j].effects);
|
pendingLoad.callers[j].effects);
|
||||||
|
this._images.push(newContent);
|
||||||
} else {
|
} else {
|
||||||
newContent = content;
|
newContent = content;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user