mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
fix: wayland环境下屏蔽虚拟键盘插件加载
由于onboard目前不支持在wayland下输入,因此屏蔽,后续找到合适的方案加载其他插件 Log: wayland环境下屏蔽虚拟键盘插件加载 Bug: https://pms.uniontech.com/bug-view-150219.html Influence: 插件加载 Change-Id: Iede37d89949fd23816fad617a922d72a291f9406
This commit is contained in:
parent
d847891f85
commit
c6f661378b
@ -20,6 +20,7 @@
|
||||
*/
|
||||
|
||||
#include "pluginloader.h"
|
||||
#include "utils.h"
|
||||
|
||||
#include <QDir>
|
||||
#include <QDebug>
|
||||
@ -68,6 +69,10 @@ void PluginLoader::run()
|
||||
if (file.contains("libkeyboard-layout") && !DSysInfo::isCommunityEdition())
|
||||
continue;
|
||||
|
||||
// 由于onboard不支持wayland下输入,因此屏蔽onboard插件加载
|
||||
if (file.contains("libonboard") && Utils::IS_WAYLAND_DISPLAY)
|
||||
continue;
|
||||
|
||||
// TODO: old dock plugins is uncompatible
|
||||
if (file.startsWith("libdde-dock-"))
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user