summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/sdl/window.c')
-rw-r--r--src/osd/sdl/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/sdl/window.c b/src/osd/sdl/window.c
index dad813d92f1..e4c2054ba3d 100644
--- a/src/osd/sdl/window.c
+++ b/src/osd/sdl/window.c
@@ -620,14 +620,14 @@ static void sdlwindow_update_cursor_state(running_machine &machine, sdl_window_i
SDL_ShowCursor(SDL_ENABLE);
if (SDL_GetWindowGrab(window->sdl_window ))
SDL_SetWindowGrab(window->sdl_window, SDL_FALSE);
- SDL_SetRelativeMouseMode(SDL_FALSE);
+ SDL_SetRelativeMouseMode(SDL_FALSE);
}
else
{
SDL_ShowCursor(SDL_DISABLE);
if (!SDL_GetWindowGrab(window->sdl_window))
SDL_SetWindowGrab(window->sdl_window, SDL_TRUE);
- SDL_SetRelativeMouseMode(SDL_TRUE);
+ SDL_SetRelativeMouseMode(SDL_TRUE);
}
SDL_SetCursor(NULL); // Force an update in case the underlying driver has changed visibility
}