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
This commit is contained in:
Jonas Dreßler 2019-10-07 15:00:19 +02:00 committed by Florian Müllner
parent 363336e4a1
commit 24df43d579

View File

@ -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);