Fix focus for windows platforms (Tatsuya)

This commit is contained in:
alfrix 2018-08-18 15:14:41 -03:00
parent d2e4832ebe
commit b915fd095d

View File

@ -607,6 +607,9 @@ static void ui_companion_qt_toggle(void *data, bool force)
#endif
if (settings->bools.ui_companion_toggle || force)
{
if (settings->bools.video_fullscreen)
command_event(CMD_EVENT_FULLSCREEN_TOGGLE, NULL);
win_handle->qtWindow->activateWindow();
win_handle->qtWindow->raise();
video_driver_show_mouse();