!! THIS NEEDS TO GO TO THE PARENT BRANCH !!

(cherry picked from commit 9f9eacb5d9)
This commit is contained in:
Mike Griese 2021-04-19 14:41:48 -05:00
parent 2eec961a87
commit 15a8a9cec0

View file

@ -993,6 +993,10 @@ winrt::fire_and_forget IslandWindow::SummonWindow()
});
LOG_IF_WIN32_BOOL_FALSE(BringWindowToTop(_window.get()));
LOG_IF_WIN32_BOOL_FALSE(ShowWindow(_window.get(), SW_SHOW));
// Activate the window too. This will force us to the virtual desktop this
// window is on, if it's on another virtual desktop.
LOG_LAST_ERROR_IF_NULL(SetActiveWindow(_window.get()));
}
DEFINE_EVENT(IslandWindow, DragRegionClicked, _DragRegionClickedHandlers, winrt::delegate<>);