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/993
This commit is contained in:
Jonas Dreßler 2019-10-07 15:00:19 +02:00 committed by verdre
parent 0b113094b4
commit 725c72e020

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