From 56d6836cebcf775b2246ee3def1d39a29c8d28dd Mon Sep 17 00:00:00 2001 From: akallabeth Date: Wed, 28 Jan 2026 13:21:52 +0100 Subject: [PATCH] [client,sdl] update mouse pointer when mouse enters --- client/SDL/SDL3/sdl_context.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/SDL/SDL3/sdl_context.cpp b/client/SDL/SDL3/sdl_context.cpp index 75df27721..9655c54c2 100644 --- a/client/SDL/SDL3/sdl_context.cpp +++ b/client/SDL/SDL3/sdl_context.cpp @@ -1150,6 +1150,8 @@ bool SdlContext::handleEvent(const SDL_Event& ev) case SDL_EVENT_RENDER_DEVICE_RESET: case SDL_EVENT_WILL_ENTER_FOREGROUND: return redraw(); + case SDL_EVENT_WINDOW_MOUSE_ENTER: + return sdl_Pointer_Set_Process(this); default: return true; }