diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-10 11:10:41 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-10 11:10:41 +0200 |
commit | 1c72027ba0880c30e9d8d382869798136c493f76 (patch) | |
tree | 508d0d44ca81313f48ffcbc0dcc43d87ca6bf12f /src/ui/window.h | |
parent | bc4bf2c73c29cd27ce4516a57691e9b44e66b15f (diff) |
App: Events posted early may cause a crash
Attempting to ask SDL about a non-existent window's ID.
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 9e3f16bc..25d81e6f 100644 --- a/src/ui/window.h +++ b/src/ui/window.h | |||
@@ -60,6 +60,7 @@ void setUiScale_Window (iWindow *, float uiScale); | |||
60 | void setFreezeDraw_Window (iWindow *, iBool freezeDraw); | 60 | void setFreezeDraw_Window (iWindow *, iBool freezeDraw); |
61 | void setCursor_Window (iWindow *, int cursor); | 61 | void setCursor_Window (iWindow *, int cursor); |
62 | 62 | ||
63 | uint32_t id_Window (const iWindow *); | ||
63 | iInt2 rootSize_Window (const iWindow *); | 64 | iInt2 rootSize_Window (const iWindow *); |
64 | float uiScale_Window (const iWindow *); | 65 | float uiScale_Window (const iWindow *); |
65 | iInt2 coord_Window (const iWindow *, int x, int y); | 66 | iInt2 coord_Window (const iWindow *, int x, int y); |