Revision 2dfe9736

View differences:

chunker_player/player_gui.c
213 213
	if (!cursor_cb) {
214 214
		cursor_cb = SDL_AddTimer(MOUSE_HIDE_DELAY/2, DisableCursor, NULL);
215 215
	}
216
	SDL_ShowCursor(SDL_ENABLE);
216
	if (SDL_ShowCursor(SDL_QUERY) == SDL_DISABLE) SDL_ShowCursor(SDL_ENABLE);
217 217
	last_mousemotion = SDL_GetTicks();
218 218
#endif
219 219

  

Also available in: Unified diff