mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
qt: fix mouse cursor limited by window range on F5 press
This commit is contained in:
parent
bfe5ca708b
commit
502d3b3514
@ -660,16 +660,15 @@ static void ui_companion_qt_toggle(void *data, bool force)
|
||||
|
||||
if (ui_companion_toggle || force)
|
||||
{
|
||||
if (mouse_grabbed)
|
||||
command_event(CMD_EVENT_GRAB_MOUSE_TOGGLE, NULL);
|
||||
video_driver_show_mouse();
|
||||
|
||||
if (video_fullscreen)
|
||||
command_event(CMD_EVENT_FULLSCREEN_TOGGLE, NULL);
|
||||
|
||||
win_handle->qtWindow->activateWindow();
|
||||
win_handle->qtWindow->raise();
|
||||
|
||||
if (mouse_grabbed)
|
||||
command_event(CMD_EVENT_GRAB_MOUSE_TOGGLE, NULL);
|
||||
video_driver_show_mouse();
|
||||
|
||||
win_handle->qtWindow->show();
|
||||
|
||||
if (video_driver_started_fullscreen())
|
||||
|
Loading…
x
Reference in New Issue
Block a user