summaryrefslogtreecommitdiff
path: root/src/ui/window.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-02-10 11:10:41 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-02-10 11:10:41 +0200
commit1c72027ba0880c30e9d8d382869798136c493f76 (patch)
tree508d0d44ca81313f48ffcbc0dcc43d87ca6bf12f /src/ui/window.h
parentbc4bf2c73c29cd27ce4516a57691e9b44e66b15f (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.h1
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);
60void setFreezeDraw_Window (iWindow *, iBool freezeDraw); 60void setFreezeDraw_Window (iWindow *, iBool freezeDraw);
61void setCursor_Window (iWindow *, int cursor); 61void setCursor_Window (iWindow *, int cursor);
62 62
63uint32_t id_Window (const iWindow *);
63iInt2 rootSize_Window (const iWindow *); 64iInt2 rootSize_Window (const iWindow *);
64float uiScale_Window (const iWindow *); 65float uiScale_Window (const iWindow *);
65iInt2 coord_Window (const iWindow *, int x, int y); 66iInt2 coord_Window (const iWindow *, int x, int y);