mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Hide mouse cursor after RETRO_ENVIRONMENT_SET_SYSTEM_AV_INFO in fullscreen
This commit is contained in:
parent
515918f80c
commit
10c6ef6f1a
1 changed files with 6 additions and 0 deletions
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…
Add table
Reference in a new issue