From 8ff7e65919312e15abc56d57b1c9fc50c51dbbb6 Mon Sep 17 00:00:00 2001 From: Dustin Howett Date: Fri, 24 Apr 2020 10:35:50 -0700 Subject: [PATCH] Actually check the elevation status when disabling tab rearrange --- src/cascadia/TerminalApp/TerminalPage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cascadia/TerminalApp/TerminalPage.cpp b/src/cascadia/TerminalApp/TerminalPage.cpp index d7c143a0670..96a823e7ddd 100644 --- a/src/cascadia/TerminalApp/TerminalPage.cpp +++ b/src/cascadia/TerminalApp/TerminalPage.cpp @@ -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();