From b915fd095de639e85f047fa22fb5458955b24906 Mon Sep 17 00:00:00 2001 From: alfrix Date: Sat, 18 Aug 2018 15:14:41 -0300 Subject: [PATCH] Fix focus for windows platforms (Tatsuya) --- ui/drivers/ui_qt.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/drivers/ui_qt.cpp b/ui/drivers/ui_qt.cpp index d410aca90f..e17954bf5a 100644 --- a/ui/drivers/ui_qt.cpp +++ b/ui/drivers/ui_qt.cpp @@ -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();