magnifier: Use core idletime monitor
As it's getting the idletime monitor for the seat pointer, boils down to about the same thing. We are moving away from per-device idletime monitors though. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/978
This commit is contained in:
parent
07882c4b6a
commit
5c570460cf
@ -745,8 +745,7 @@ var ZoomRegion = class ZoomRegion {
|
||||
this._xCaret = 0;
|
||||
this._yCaret = 0;
|
||||
|
||||
let seat = Clutter.get_default_backend().get_default_seat();
|
||||
this._pointerIdleMonitor = Meta.IdleMonitor.get_for_device(seat.get_pointer());
|
||||
this._pointerIdleMonitor = Meta.IdleMonitor.get_core();
|
||||
this._scrollContentsTimerId = 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user