terminal/src/cascadia
Mike Griese 4793541c90
Allow reordering tabs when UAC is disabled (#11221)
When we're elevated, we disable drag/dropping tabs when elevated, because of a platform limitation that causes the app to _crash_ (see #4874). However, if the user has UAC disabled, this actually works alright. So I'm adding it back in that case.

I'm not positive if this is the best way to check if UAC is disabled, but normally, you'll get a [`TokenElevationTypeFull`] when elevated, not `TokenElevationTypeDefault`. If the app is elevated, but there's not a split token, that kinda implies there's no user account separation. If I'm wrong, it's just code, let's replace this with something that does work.

## Validation Steps Performed

Booted up a Win10 VM, set `enableLUA` to `0`, rebooted, and checked if this exploded. It didn't.

References #4874 
References #3581
Work done in pursuit of #11096
Closes #7754

[`TokenElevationTypeFull`]: https://docs.microsoft.com/en-us/windows/win32/api/winnt/ne-winnt-token_elevation_type
2021-09-16 17:13:10 +00:00
..
CascadiaPackage Revert "Upgrade to Microsoft.UI.Xaml 2.6.2 (or equivalent) (#10996)" (#11031) 2021-08-24 17:46:12 -05:00
inc
LocalTests_SettingsModel Add the ability to split a pane and put the new pane first. (#11145) 2021-09-15 20:14:57 +00:00
LocalTests_TerminalApp Add the ability to split a pane and put the new pane first. (#11145) 2021-09-15 20:14:57 +00:00
PublicTerminalCore
Remoting Replace TrayIcon with NotificationIcon (#11219) 2021-09-14 16:12:40 +00:00
ShellExtension Upgrade to C++/WinRT 2.0.210825.3 (#11188) 2021-09-10 21:33:13 +00:00
TerminalApp Allow reordering tabs when UAC is disabled (#11221) 2021-09-16 17:13:10 +00:00
TerminalAzBridge Upgrade to C++/WinRT 2.0.210825.3 (#11188) 2021-09-10 21:33:13 +00:00
TerminalConnection Upgrade to C++/WinRT 2.0.210825.3 (#11188) 2021-09-10 21:33:13 +00:00
TerminalControl Upgrade to C++/WinRT 2.0.210825.3 (#11188) 2021-09-10 21:33:13 +00:00
TerminalCore Upgrade to C++/WinRT 2.0.210825.3 (#11188) 2021-09-10 21:33:13 +00:00
TerminalSettingsEditor Replace TrayIcon with NotificationIcon (#11219) 2021-09-14 16:12:40 +00:00
TerminalSettingsModel Bind resetFontSize to numpad_0 (#11243) 2021-09-16 07:14:15 +00:00
UnitTests_Control Implement and action for manually clearing the Terminal (and conpty) buffer (#10906) 2021-09-02 14:59:42 +00:00
UnitTests_Remoting Replace TrayIcon with NotificationIcon (#11219) 2021-09-14 16:12:40 +00:00
UnitTests_TerminalCore Implement and action for manually clearing the Terminal (and conpty) buffer (#10906) 2021-09-02 14:59:42 +00:00
ut_app
WindowsTerminal Replace TrayIcon with NotificationIcon (#11219) 2021-09-14 16:12:40 +00:00
WindowsTerminal_UIATests
WindowsTerminalUniversal Upgrade to C++/WinRT 2.0.210825.3 (#11188) 2021-09-10 21:33:13 +00:00
WinRTUtils Upgrade to C++/WinRT 2.0.210825.3 (#11188) 2021-09-10 21:33:13 +00:00
WpfTerminalControl
WpfTerminalTestNetCore
wt
CascadiaResources.build.items