mirror of
https://github.com/microsoft/terminal.git
synced 2025-12-19 18:11:39 -05:00
Another stash had this stuff in it
This commit is contained in:
@@ -88,6 +88,7 @@
|
||||
<Link>
|
||||
<AllowIsolation>true</AllowIsolation>
|
||||
<AdditionalDependencies>winmm.lib;imm32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<DelayLoadDLLs>ext-ms-win-com-ole32-l1.dll</DelayLoadDLLs>
|
||||
<DelayLoadDLLs>icu.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
@@ -544,6 +544,7 @@ try
|
||||
|
||||
myStartupInfo.wShowWindow = settings.GetShowWindow();
|
||||
|
||||
if (IsApiSetImplemented("ext-ms-win-com-ole32-l1-1-1"))
|
||||
{
|
||||
HRESULT hr = CoAllowSetForegroundWindow(handoff.Get(), nullptr);
|
||||
TraceLoggingWrite(g_hConhostV2EventTraceProvider, "PtyHandoffAllowSetForegroundWindow", TraceLoggingHResult(hr));
|
||||
|
||||
Reference in New Issue
Block a user