mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Hide mouse cursor CMD_EVENT_REINIT in fullscreen.
This commit is contained in:
parent
70ca528d85
commit
b4e5f61713
@ -1766,6 +1766,7 @@ void command_playlist_update_write(
|
||||
**/
|
||||
bool command_event(enum event_command cmd, void *data)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
bool boolean = false;
|
||||
|
||||
switch (cmd)
|
||||
@ -1971,6 +1972,9 @@ bool command_event(enum event_command cmd, void *data)
|
||||
command_event(CMD_EVENT_GAME_FOCUS_TOGGLE, (void*)(intptr_t)-1);
|
||||
#ifdef HAVE_MENU
|
||||
menu_display_set_framebuffer_dirty_flag();
|
||||
if (settings->bools.video_fullscreen)
|
||||
video_driver_hide_mouse();
|
||||
|
||||
if (menu_driver_is_alive())
|
||||
command_event(CMD_EVENT_VIDEO_SET_BLOCKING_STATE, NULL);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user