Skip to content

Commit

Permalink
Actually check the elevation status when disabling tab rearrange (#5542)
Browse files Browse the repository at this point in the history
Fixes #5564.
  • Loading branch information
DHowett authored Apr 27, 2020
1 parent 37ff3f9 commit 8004223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cascadia/TerminalApp/TerminalPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ namespace winrt::TerminalApp::implementation
// Xaml tries to send a drag visual (to wit: a screenshot) to the drag hosting process,
// but that process is running at a different IL than us.
// For now, we're disabling elevated drag.
isElevated = ::winrt::Windows::UI::Xaml::Application::Current().as<::winrt::TerminalApp::App>().Logic().IsUwp();
isElevated = ::winrt::Windows::UI::Xaml::Application::Current().as<::winrt::TerminalApp::App>().Logic().IsElevated();
}
CATCH_LOG();

Expand Down

0 comments on commit 8004223

Please sign in to comment.