mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
Hide mouse cursor after RETRO_ENVIRONMENT_SET_SYSTEM_AV_INFO in fullscreen
This commit is contained in:
parent
515918f80c
commit
10c6ef6f1a
6
driver.c
6
driver.c
@ -304,6 +304,12 @@ static bool driver_update_system_av_info(const struct retro_system_av_info *info
|
||||
command_event(CMD_EVENT_RECORD_INIT, NULL);
|
||||
}
|
||||
|
||||
/* Hide mouse cursor in fullscreen after
|
||||
* a RETRO_ENVIRONMENT_SET_SYSTEM_AV_INFO call. */
|
||||
settings_t *settings = config_get_ptr();
|
||||
if (settings->bools.video_fullscreen)
|
||||
video_driver_hide_mouse();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user