mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
feat(dde-dock): wayland环境去掉多任务视图插件
task: 17771
This commit is contained in:
parent
f33670ab79
commit
34bb956e61
@ -189,8 +189,10 @@ void AbstractPluginsController::loadPlugin(const QString &pluginFile)
|
||||
return;
|
||||
}
|
||||
|
||||
if ((Dtk::Core::DSysInfo::deepinType() == Dtk::Core::DSysInfo::DeepinServer) && (interface->pluginName() == "multitasking"))
|
||||
return;
|
||||
if (interface->pluginName() == "multitasking") {
|
||||
if (qEnvironmentVariable("XDG_SESSION_TYPE").contains("wayland") or Dtk::Core::DSysInfo::deepinType() == Dtk::Core::DSysInfo::DeepinServer)
|
||||
return;
|
||||
}
|
||||
|
||||
m_pluginsMap.insert(interface, QMap<QString, QObject *>());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user