mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue