Merge pull request #45298 from marstaik/fix_cursor

BUGFIX: Fix uninitialized cursor_shape on windows display server
This commit is contained in:
Rémi Verschelde
2021-01-19 09:19:52 +01:00
committed by GitHub
+1 -1
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);