diff --git a/js/ui/magnifier.js b/js/ui/magnifier.js index 4eb7d3e7d..5c79acbd4 100644 --- a/js/ui/magnifier.js +++ b/js/ui/magnifier.js @@ -125,10 +125,14 @@ const Magnifier = new Lang.Class({ zoomRegion.setActive(activate); }); - if (activate) + if (activate) { + Meta.disable_unredirect_for_screen(global.screen); this.startTrackingMouse(); - else + } + else { + Meta.enable_unredirect_for_screen(global.screen); this.stopTrackingMouse(); + } // Make sure system mouse pointer is shown when all zoom regions are // invisible.