Allow to disable mouse pointer visibility for the magnifier

Hi,

A very high CPU usage and some visual glitches can be observed when using the magnifier (bug report High CPU usage when moving cursor with magnifier enabled (#8109) · Issues · GNOME / gnome-shell · GitLab). As spotted by the bug reporter, this is due to the fact that the system cursor is not made invisible once for good but by invoking the dedicated function whenever it reappears.

I think the best solution would be to have a function to lock the cursor visibility with a boolean member in the _MetaCursorTrackerPrivate structure (meta-cursor-tracker.c in mutter). What do you think about this ?
I would like to work on this and propose a MR to move things forward on this subject.

Thanks.