Skip to content

Commit

Permalink
attempt to reset cursor on quit
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Dec 23, 2024
1 parent f5080d9 commit e20083a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ set(BUILD_SHARED_CORE_LIBS OFF)

if (TARGET_WEBOS)
set(CMAKE_INSTALL_LIBDIR lib/backports)
set(SDL2_BACKPORT_RELEASE "release-2.30.8-webos.3")
set(SDL2_BACKPORT_REVISION "6fa9ff9085864e9d7f2c910d6c592fd608126312")
include(ExternalSDL2BackportForWebOS)
unset(CMAKE_INSTALL_LIBDIR)
else ()
Expand Down
2 changes: 1 addition & 1 deletion src/app/input/app_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void app_set_mouse_grab(app_input_t *input, bool grab) {
if (!app_configuration->hardware_mouse) {
SDL_SetRelativeMouseMode(grab && !app_configuration->absmouse ? SDL_TRUE : SDL_FALSE);
}
// SDL_ShowCursor(grab ? SDL_FALSE : SDL_TRUE);
SDL_ShowCursor(grab ? SDL_FALSE : SDL_TRUE);
}

bool app_get_mouse_relative() {
Expand Down

0 comments on commit e20083a

Please sign in to comment.