mirror of
https://github.com/microsoft/terminal.git
synced 2026-05-20 22:06:56 +00:00
last nits, let's do this
This commit is contained in:
@@ -57,7 +57,7 @@ namespace winrt::TerminalApp::implementation
|
||||
_mruTabs{ winrt::single_threaded_observable_vector<TerminalApp::TabBase>() },
|
||||
_startupActions{ winrt::single_threaded_vector<ActionAndArgs>() },
|
||||
_hostingHwnd{},
|
||||
_WindowProperties{ properties }
|
||||
_WindowProperties{ std::move(properties) }
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
|
||||
@@ -983,9 +983,11 @@ void AppHost::_BecomeMonarch(const winrt::Windows::Foundation::IInspectable& /*s
|
||||
}
|
||||
|
||||
_WindowCreatedToken = _windowManager.WindowCreated([this](auto&&, auto&&) {
|
||||
if (_getWindowLayoutThrottler) {
|
||||
if (_getWindowLayoutThrottler)
|
||||
{
|
||||
_getWindowLayoutThrottler.value()();
|
||||
} });
|
||||
}
|
||||
});
|
||||
|
||||
_WindowClosedToken = _windowManager.WindowClosed([this](auto&&, auto&&) {
|
||||
if (_getWindowLayoutThrottler)
|
||||
|
||||
Reference in New Issue
Block a user