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
commit 7dea83c623
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);