[gnome-shell/gnome-3-34] magnifier: Use own showSystemCursor() instead of set_pointer_visible()



commit 24df43d57937e7c0f503c1c2a279418ccad9ac71
Author: Jonas Dreßler <verdre v0yd nl>
Date:   Mon Oct 7 15:00:19 2019 +0200

    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 0ec30ee00e..0a935edefd 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]