Fix Windows cursor with trails disappearing in fullscreen
Fixed by turning off mouse trails when going into fullscreen, then restoring trails when exiting fullscreen or game
This commit is contained in:
parent
0e5b0c025c
commit
131f5dbb54
2 changed files with 17 additions and 0 deletions
|
|
@ -403,6 +403,7 @@ class DisplayServerWindows : public DisplayServer {
|
|||
void _get_window_style(bool p_main_window, bool p_fullscreen, bool p_borderless, bool p_resizable, bool p_maximized, bool p_no_activate_focus, DWORD &r_style, DWORD &r_style_ex);
|
||||
|
||||
MouseMode mouse_mode;
|
||||
int restore_mouse_trails = 0;
|
||||
bool alt_mem = false;
|
||||
bool gr_mem = false;
|
||||
bool shift_mem = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue