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:
parent
363336e4a1
commit
24df43d579
@ -169,7 +169,7 @@ var Magnifier = class Magnifier {
|
|||||||
// Make sure system mouse pointer is shown when all zoom regions are
|
// Make sure system mouse pointer is shown when all zoom regions are
|
||||||
// invisible.
|
// invisible.
|
||||||
if (!activate)
|
if (!activate)
|
||||||
this._cursorTracker.set_pointer_visible(true);
|
this.showSystemCursor();
|
||||||
|
|
||||||
// Notify interested parties of this change
|
// Notify interested parties of this change
|
||||||
this.emit('active-changed', activate);
|
this.emit('active-changed', activate);
|
||||||
|
Loading…
Reference in New Issue
Block a user