mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 05:38:49 +00:00
updated sdl to fix touchpad issue (#1275)
This commit is contained in:
@@ -581,7 +581,7 @@ static void UpdateMouseData() {
|
||||
// (below)
|
||||
// SDL_CaptureMouse() let the OS know e.g. that our imgui drag outside the SDL window boundaries
|
||||
// shouldn't e.g. trigger other operations outside
|
||||
SDL_CaptureMouse((bd->mouse_buttons_down != 0) ? SDL_TRUE : SDL_FALSE);
|
||||
SDL_CaptureMouse((bd->mouse_buttons_down != 0) ? true : false);
|
||||
SDL_Window* focused_window = SDL_GetKeyboardFocus();
|
||||
const bool is_app_focused = (bd->window == focused_window);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user