gnome-shell/0001-magnifier-Use-own-showSystemCursor-instead-of-set_po.patch
2020-02-06 22:13:13 +01:00

30 lines
997 B
Diff

From 496b43f59928266822e465a7c086ba38a1da1bc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Mon, 7 Oct 2019 15:00:19 +0200
Subject: [PATCH 1/2] magnifier: Use own showSystemCursor() instead of
set_pointer_visible()
We already have our own function to show the system cursor, use it!
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/754
---
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 d7d3506a5..e9fa4c5d0 100644
--- a/js/ui/magnifier.js
+++ b/js/ui/magnifier.js
@@ -169,7 +169,7 @@ var Magnifier = class Magnifier {
// Make sure system mouse pointer is shown when all zoom regions are
// invisible.
if (!activate)
- this._cursorTracker.set_pointer_visible(true);
+ this.showSystemCursor();
// Notify interested parties of this change
this.emit('active-changed', activate);
--
2.24.1