From 221dad73a3170222d4b0133b51e952e3ecfd4a20 Mon Sep 17 00:00:00 2001 From: zouxiaoyi Date: Thu, 21 Jul 2022 10:41:09 +0800 Subject: [PATCH] =?UTF-8?q?[Fix]:=20#127730=20=E5=B9=B3=E6=9D=BF=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E4=B8=8B=E9=A1=B6=E5=B1=82=E7=AA=97=E5=8F=A3=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E6=9C=80=E5=A4=A7=E5=8C=96=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/workspace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/workspace.cpp b/src/workspace.cpp index bf529c847..15b409aab 100644 --- a/src/workspace.cpp +++ b/src/workspace.cpp @@ -325,7 +325,7 @@ void Workspace::switchTablet(bool bOn) bool bTopClientMaximize = true; //顶层窗口最大化标志 for (int i = stacking_order.count() - 1; i > -1; --i) { AbstractClient *c = qobject_cast(stacking_order.at(i)); - if (!c || c->isDock() || c->isDesktop()) + if (!c || c->isDock() || c->isDesktop() || c->caption().contains("sidebar", Qt::CaseInsensitive)) continue; //m_bTabletMode为true,表示pc切平板