I am trying to hide the mouse pointer via:
(setq x-pointer-shape x-pointer-invisible)
(setq x-sensitive-text-pointer-shape x-pointer-invisible)
(setq void-text-area-pointer 'text)
(set-mouse-color (cdr (assoc 'mouse-color (frame-parameters))))
The last command is supposed to make the previous changes effective (it works with other pointer shapes), but in the case of x-pointer-invisible
I get the error can't set cursor shape: BadValue
.
Any ideas on how to fix this, or another way to make the mouse pointer invisible? I am looking for temporary invisibility that can be toggled on the fly.