qmsetup @ 961f07 | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/core/contexts/abstractwindowcontext.cpp | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/core/contexts/cocoawindowcontext.mm | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/core/contexts/win32windowcontext.cpp | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
qmsetup
@@ -1 +1 @@ Subproject commit d767a85676092f6b04d2485143b534141d53aef7 Subproject commit 961f074a5bc9e6cfd0ecaf790be2734d08702a9f src/core/contexts/abstractwindowcontext.cpp
@@ -185,7 +185,7 @@ void AbstractWindowContext::virtual_hook(int id, void *data) { switch (id) { case CentralizeHook: { if (!m_windowHandle) if (!m_windowId) return; QRect windowGeometry = m_delegate->getGeometry(m_host); @@ -199,7 +199,7 @@ } case RaiseWindowHook: { if (!m_windowHandle) if (!m_windowId) return; m_delegate->setWindowVisible(m_host, true); src/core/contexts/cocoawindowcontext.mm
@@ -699,7 +699,7 @@ releaseWindowProxy(oldWinId); } if (!m_windowHandle) { if (!winId) { return; } src/core/contexts/win32windowcontext.cpp
@@ -631,7 +631,7 @@ } case DrawWindows10BorderHook2: { if (!m_windowHandle) if (!m_windowId) return; // https://github.com/microsoft/terminal/blob/71a6f26e6ece656084e87de1a528c4a8072eeabd/src/cascadia/WindowsTerminal/NonClientIslandWindow.cpp#L1025 @@ -663,7 +663,7 @@ QVariant Win32WindowContext::windowAttribute(const QString &key) const { if (key == QStringLiteral("window-rect")) { if (!m_windowHandle) if (!m_windowId) return {}; RECT frame{}; @@ -686,7 +686,7 @@ } if (key == QStringLiteral("border-thickness")) { return m_windowHandle return m_windowId ? int(getWindowFrameBorderThickness(reinterpret_cast<HWND>(m_windowId))) : 0; } @@ -704,7 +704,7 @@ removeManagedWindow(reinterpret_cast<HWND>(oldWinId)); } if (!m_windowHandle || !winId) { if (!winId) { return; }