[gnome-shell/wip/carlosg/drop-device-idle-monitors] magnifier: Use core idletime monitor
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/carlosg/drop-device-idle-monitors] magnifier: Use core idletime monitor
- Date: Wed, 5 Feb 2020 15:57:59 +0000 (UTC)
commit 16b4fbb57039481eed557c40e97ad211b85af291
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Feb 5 16:49:34 2020 +0100
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.
js/ui/magnifier.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/magnifier.js b/js/ui/magnifier.js
index 953277dd93..6b5f591b24 100644
--- a/js/ui/magnifier.js
+++ b/js/ui/magnifier.js
@@ -746,7 +746,7 @@ var ZoomRegion = class ZoomRegion {
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]