mirror of https://gitee.com/openkylin/kwin.git
[Fix]: #127730 平板模式下顶层窗口没有最大化;
This commit is contained in:
parent
5cd2ea3e05
commit
221dad73a3
|
@ -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<AbstractClient*>(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切平板
|
||||
|
|
Loading…
Reference in New Issue