defOS: hide cursor not working on mac

In the init function of the unique script attached to the bootstrap collection I have the following lines:

	defos.set_window_title("Jack Redrum")
	defos.set_fullscreen(true)
	defos.set_cursor_visible(false)

When I run the game on Mac, I see that: (1) the window title is set, (2) fullscreen mode is entered but (3) the cursor IS still visible. I have also tried in windowed mode but the cursor is always visible.

EDIT: sometimes in fullscreen the cursor is not visible… I don’t understand…

EDIT2: I have changed nothing, but now the cursor is NOT visible… and I cannot reproduce the issue.

Huh. Can you please report this on the defos repo? I’ll take a look at it soon.

2 Likes

Done on defos repo.