From 770313365c781ca52518340c57e2f06e093cfebe Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Tue, 25 Aug 2020 13:01:44 +0300 Subject: Window: Avoid setting cursor multiple times per event --- src/ui/window.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui/window.h') diff --git a/src/ui/window.h b/src/ui/window.h index e6f8cf30..4aec2fa7 100644 --- a/src/ui/window.h +++ b/src/ui/window.h @@ -42,6 +42,7 @@ struct Impl_Window { uint32_t frameTime; double presentTime; SDL_Cursor * cursors[SDL_NUM_SYSTEM_CURSORS]; + SDL_Cursor * pendingCursor; }; iBool processEvent_Window (iWindow *, const SDL_Event *); -- cgit v1.2.3