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

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);