Skip to content

Commit

Permalink
!! THIS NEEDS TO GO TO THE PARENT BRANCH !!
Browse files Browse the repository at this point in the history
  • Loading branch information
zadjii-msft committed Apr 19, 2021
1 parent 305e627 commit 9f9eacb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cascadia/WindowsTerminal/IslandWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<>);
Expand Down

0 comments on commit 9f9eacb

Please sign in to comment.