fix: wayland下需要创建WinId

wayland下需要creatWinId

Log: 修复wayland下两排及以上窗口底部与任务栏重叠显示的问题
Influence: 多任务视图
Bug: https://pms.uniontech.com/bug-view-121717.html
Change-Id: I2be6d6a0446d650b78f34d587f21a2acd5b772ac
This commit is contained in:
chenbin 2022-04-08 16:02:19 +08:00
parent 6cdbc693a4
commit 073f1a3e3b

View File

@ -892,6 +892,9 @@ MainWindow *MultiScreenWorker::parent()
void MultiScreenWorker::initMembers()
{
if (Utils::IS_WAYLAND_DISPLAY) {
m_parent->createWinId();
}
m_monitorUpdateTimer->setInterval(100);
m_monitorUpdateTimer->setSingleShot(true);