mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
fix: 修复多任务视图插件在开关特效功能时显示错误
在开启特效模式时,需要判断是否显示多任务视图插件 Log: 修复多任务视图插件显示异常 Bug: https://pms.uniontech.com/zentao/bug-view-85813.html Change-Id: If87669e4a870757819a173437ac71d90c8efa1ed
This commit is contained in:
parent
03102c905e
commit
b5ca6f4b2f
@ -44,11 +44,10 @@ MultitaskingPlugin::MultitaskingPlugin(QObject *parent)
|
||||
if (!m_proxyInter || !m_pluginLoaded)
|
||||
return;
|
||||
|
||||
if (DWindowManagerHelper::instance()->hasComposite()) {
|
||||
if (DWindowManagerHelper::instance()->hasComposite() && !pluginIsDisable())
|
||||
m_proxyInter->itemAdded(this, PLUGIN_KEY);
|
||||
} else {
|
||||
else
|
||||
m_proxyInter->itemRemoved(this, PLUGIN_KEY);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user