Replace GnomeIdleMonitor with MetaIdleMonitor
Now that GnomeIdleMonitor is a DBus API for mutter, we need to use own in-process thing, to avoid dead locks. https://bugzilla.gnome.org/show_bug.cgi?id=706005
This commit is contained in:
@ -592,7 +592,7 @@ const ScreenShield = new Lang.Class({
|
||||
fadeFactor: 1 });
|
||||
this._shortLightbox.connect('shown', Lang.bind(this, this._onShortLightboxShown));
|
||||
|
||||
this.idleMonitor = new GnomeDesktop.IdleMonitor();
|
||||
this.idleMonitor = Meta.IdleMonitor.get_core();
|
||||
},
|
||||
|
||||
_createBackground: function(monitorIndex) {
|
||||
|
Reference in New Issue
Block a user