thanks for nothing VS

This commit is contained in:
Mike Griese
2022-02-18 10:58:03 -06:00
parent 669b1e2609
commit 5d96691b01
3 changed files with 3 additions and 4 deletions

View File

@@ -2412,7 +2412,7 @@ namespace winrt::TerminalApp::implementation
TermControl term{ settings.DefaultSettings(), settings.UnfocusedSettings(), connection };
if (_hostingHwnd.has_value())
term.OwningHwnd(_ownerHwnd);
// term.OwningHwnd(reinterpret_cast<uint64_t>(_ownerHwnd));
// term.OwningHwnd(reinterpret_cast<uint64_t>(_ownerHwnd));
return term;
}

View File

@@ -37,7 +37,6 @@ namespace Microsoft::Console
void ConnectConsole() noexcept;
private:
enum class PtySignal : unsigned short
{
@@ -70,7 +69,7 @@ namespace Microsoft::Console
std::optional<ResizeWindowData> _earlyResize;
std::unique_ptr<Microsoft::Console::VirtualTerminal::ConGetSet> _pConApi;
public:
public:
std::optional<SetParentData> _earlyReparent;
};
}

View File

@@ -376,7 +376,7 @@ using namespace Microsoft::Console::Interactivity;
status = NTSTATUS_FROM_WIN32(gle);
}
const auto awareness{GetThreadDpiAwarenessContext()};
const auto awareness{ GetThreadDpiAwarenessContext() };
awareness;
SetThreadDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2);