I have an extension that hides the cursor after a timeout. The idea is that when you move the cursor it shows up again until the next timeout.
I’ve been using set_pointer_visible(false/true). On GNOME 49 I get an error that this is not a function. I didn’t see anything in the porting guide but I found
I no longer get an error when I swap set_pointer_visible(false/true) to inhibit_cursor_visibility()/uninhibit_cursor_visibility() and the cursor does hide. But the cursor now does not show up when the mouse is moved. Is this expected?
Thanks! I borrowed that code and the cursor does hide and show with mouse movement, but only if I move the cursor outside the app that it was in when it was hidden. (I thought it was outside the window, but stays hidden if moved to a second (e.g. overlapping) window of the same app.)