diff --git a/js/ui/magnifier.js b/js/ui/magnifier.js index 0a935edef..70b12913f 100644 --- a/js/ui/magnifier.js +++ b/js/ui/magnifier.js @@ -127,6 +127,8 @@ var Magnifier = class Magnifier { * Show the system mouse pointer. */ showSystemCursor() { + if (this._cursorTracker.set_keep_focus_while_hidden) + this._cursorTracker.set_keep_focus_while_hidden(false); this._cursorTracker.set_pointer_visible(true); } @@ -135,6 +137,8 @@ var Magnifier = class Magnifier { * Hide the system mouse pointer. */ hideSystemCursor() { + if (this._cursorTracker.set_keep_focus_while_hidden) + this._cursorTracker.set_keep_focus_while_hidden(true); this._cursorTracker.set_pointer_visible(false); }