Correction for not showing mouse cursor with overlay (#15687)

This commit is contained in:
sonninnos 2023-09-12 03:28:33 +03:00 committed by GitHub
parent ba1833de07
commit cf2ee94c9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4391,7 +4391,7 @@ static void input_overlay_enable_(bool enable)
: settings->floats.input_overlay_opacity;
bool auto_rotate = settings->bools.input_overlay_auto_rotate;
bool hide_mouse_cursor = !settings->bools.input_overlay_show_mouse_cursor
&& (input_st->flags & INP_FLAG_GRAB_MOUSE_STATE);
&& settings->bools.video_fullscreen;
if (!ol)
return;