Magnifier: Disable unredirect when active
The unredirect feature does not apply to the magnifier and it prevents users from gaming whilst it is on so disable when magnifier is active and allow magnifier users to game! Bug https://bugzilla.gnome.org/show_bug.cgi?id=708985
This commit is contained in:
parent
173fa92116
commit
0db3605f33
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user