mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
js: Get idle monitor from backend
Its ownership has moved from dangeling to owned by the backend, which has reflected the API is accessible by. Adapt to this change. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1838>
This commit is contained in:
parent
3c6fd75ab7
commit
08fb067d24
5 changed files with 7 additions and 7 deletions
|
|
@ -138,7 +138,7 @@ var ScreenShield = class {
|
|||
fadeFactor: 1 });
|
||||
this._shortLightbox.connect('notify::active', this._onShortLightbox.bind(this));
|
||||
|
||||
this.idleMonitor = Meta.IdleMonitor.get_core();
|
||||
this.idleMonitor = global.backend.get_core_idle_monitor();
|
||||
this._cursorTracker = Meta.CursorTracker.get_for_display(global.display);
|
||||
|
||||
this._syncInhibitor();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue