From cb53b721fc35d2a36d74ac1bc36abfa1b2d1d083 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Tue, 30 Jul 2024 13:51:29 +0800 Subject: [PATCH] rm --- plugins/winsharedutils/hwnd.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/winsharedutils/hwnd.cpp b/plugins/winsharedutils/hwnd.cpp index f710f530..21b07cca 100644 --- a/plugins/winsharedutils/hwnd.cpp +++ b/plugins/winsharedutils/hwnd.cpp @@ -8,14 +8,14 @@ DECLARE void showintab(HWND hwnd, bool show) if (show) { style_ex |= WS_EX_APPWINDOW; - if ((style & WS_OVERLAPPEDWINDOW) != WS_OVERLAPPEDWINDOW) - style_ex &= ~WS_EX_TOOLWINDOW; + // if ((style & WS_OVERLAPPEDWINDOW) != WS_OVERLAPPEDWINDOW) + // style_ex &= ~WS_EX_TOOLWINDOW; } else { style_ex &= ~WS_EX_APPWINDOW; - if ((style & WS_OVERLAPPEDWINDOW) != WS_OVERLAPPEDWINDOW) - style_ex |= WS_EX_TOOLWINDOW; + // if ((style & WS_OVERLAPPEDWINDOW) != WS_OVERLAPPEDWINDOW) + // style_ex |= WS_EX_TOOLWINDOW; } SetWindowLong(hwnd, GWL_EXSTYLE, style_ex); }