1
0
Fork 0

BUGFIX: Fix unintialized cursor_shape on windows display server

This commit is contained in:
Marios Staikopoulos 2021-01-18 15:52:47 -08:00
parent 7fc9d4c79b
commit 2a2de2f684
1 changed files with 1 additions and 1 deletions

View File

@ -417,7 +417,7 @@ private:
WNDCLASSEXW wc;
HCURSOR cursors[CURSOR_MAX] = { nullptr };
CursorShape cursor_shape;
CursorShape cursor_shape = CursorShape::CURSOR_ARROW;
Map<CursorShape, Vector<Variant>> cursors_cache;
void _drag_event(WindowID p_window, float p_x, float p_y, int idx);