mirror of https://gitee.com/openkylin/kwin.git
[Fix]: ukui-sidebar not showing after showingDesktop;
bug #137950:平板模式下进入过多任务视图界面,无法使用鼠标点击/手势唤出侧边栏
This commit is contained in:
parent
14eceedce2
commit
efea4cb2d8
|
@ -2810,6 +2810,7 @@ void AbstractClient::makeOthersMinimize()
|
|||
|| true == this->isDesktop()
|
||||
|| true == this->isDock()
|
||||
|| caption().contains("sogou", Qt::CaseInsensitive)
|
||||
|| caption().contains("sidebar", Qt::CaseInsensitive)
|
||||
)
|
||||
{
|
||||
return;
|
||||
|
|
|
@ -1019,11 +1019,6 @@ bool XdgToplevelClient::takeFocus()
|
|||
setActive(true);
|
||||
}
|
||||
|
||||
if (this->caption().contains("sidebar", Qt::CaseInsensitive))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
//如果是平板模式,则其他所有窗口均最小化
|
||||
if (Workspace::self()->isInTabletMode()){
|
||||
// 平板模式下,当窗口获得焦点时,如果是固定大小的窗口(除了任务栏),需要将窗口放到屏幕的正中间
|
||||
|
|
Loading…
Reference in New Issue