diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-25 13:01:44 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-25 13:01:44 +0300 |
commit | 770313365c781ca52518340c57e2f06e093cfebe (patch) | |
tree | b6aa1829519f1726af2e91dfadf43bf136800a6f /src/ui/window.h | |
parent | 5c51b99cffed9d3d48470446b8d5dd724e8c03f1 (diff) |
Window: Avoid setting cursor multiple times per event
Diffstat (limited to 'src/ui/window.h')
-rw-r--r-- | src/ui/window.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 { | |||
42 | uint32_t frameTime; | 42 | uint32_t frameTime; |
43 | double presentTime; | 43 | double presentTime; |
44 | SDL_Cursor * cursors[SDL_NUM_SYSTEM_CURSORS]; | 44 | SDL_Cursor * cursors[SDL_NUM_SYSTEM_CURSORS]; |
45 | SDL_Cursor * pendingCursor; | ||
45 | }; | 46 | }; |
46 | 47 | ||
47 | iBool processEvent_Window (iWindow *, const SDL_Event *); | 48 | iBool processEvent_Window (iWindow *, const SDL_Event *); |