main: put noise texture below startup animation, not still frames
Right now we take a still frame of the desktop before showing the start up animation. This gives us an animation over what was there before startup. That's not actually desirable when restarting the shell. We don't want to animate over undecorated windows, we really want to animate over the noise texture. This commit drops the still frames in favor of the noise texture. https://bugzilla.gnome.org/show_bug.cgi?id=694326
This commit is contained in:
@ -576,6 +576,25 @@ const StillFrame = new Lang.Class({
|
||||
});
|
||||
Signals.addSignalMethods(StillFrame.prototype);
|
||||
|
||||
const SystemBackground = new Lang.Class({
|
||||
Name: 'SystemBackground',
|
||||
|
||||
_init: function() {
|
||||
this._cache = getBackgroundCache();
|
||||
this.actor = new Meta.BackgroundActor();
|
||||
|
||||
this._cache.getImageContent({ style: GDesktopEnums.BackgroundStyle.WALLPAPER,
|
||||
filename: global.datadir + '/theme/noise-texture.png',
|
||||
effects: Meta.BackgroundEffects.NONE,
|
||||
onFinished: Lang.bind(this, function(content) {
|
||||
this.actor.content = content;
|
||||
this.emit('loaded');
|
||||
})
|
||||
});
|
||||
}
|
||||
});
|
||||
Signals.addSignalMethods(SystemBackground.prototype);
|
||||
|
||||
const Animation = new Lang.Class({
|
||||
Name: 'Animation',
|
||||
|
||||
|
Reference in New Issue
Block a user