diff options
Diffstat (limited to 'src/osd/windows/window.cpp')
-rw-r--r-- | src/osd/windows/window.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/osd/windows/window.cpp b/src/osd/windows/window.cpp index 8141dfc9a32..931af490f0f 100644 --- a/src/osd/windows/window.cpp +++ b/src/osd/windows/window.cpp @@ -378,7 +378,7 @@ win_window_info::win_window_info( m_non_fullscreen_bounds.bottom = 0; m_prescale = video_config.prescale; - + } win_window_info::~win_window_info() @@ -719,7 +719,7 @@ void winwindow_toggle_full_screen(void) // iterate over windows and toggle their fullscreen state for (auto window : win_window_list) SendMessage(window->platform_window<HWND>(), WM_USER_SET_FULLSCREEN, !video_config.windowed, 0); - + // Set the first window as foreground SetForegroundWindow(win_window_list.front()->platform_window<HWND>()); } @@ -1292,7 +1292,7 @@ int win_window_info::complete_create() menu, GetModuleHandleUni(), nullptr); - + if (hwnd == nullptr) return 1; |