[Fix]: ukui-sidebar not showing after showingDesktop;

bug #137950:平板模式下进入过多任务视图界面,无法使用鼠标点击/手势唤出侧边栏
This commit is contained in:
zouxiaoyi 2022-10-21 10:11:12 +08:00
parent 14eceedce2
commit efea4cb2d8
2 changed files with 1 additions and 5 deletions

View File

@ -2810,6 +2810,7 @@ void AbstractClient::makeOthersMinimize()
|| true == this->isDesktop()
|| true == this->isDock()
|| caption().contains("sogou", Qt::CaseInsensitive)
|| caption().contains("sidebar", Qt::CaseInsensitive)
)
{
return;

View File

@ -1019,11 +1019,6 @@ bool XdgToplevelClient::takeFocus()
setActive(true);
}
if (this->caption().contains("sidebar", Qt::CaseInsensitive))
{
return true;
}
//如果是平板模式,则其他所有窗口均最小化
if (Workspace::self()->isInTabletMode()){
// 平板模式下,当窗口获得焦点时,如果是固定大小的窗口(除了任务栏),需要将窗口放到屏幕的正中间