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