From 073f1a3e3b95e9ef43753c777734a7cda6abb712 Mon Sep 17 00:00:00 2001 From: chenbin Date: Fri, 8 Apr 2022 16:02:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20wayland=E4=B8=8B=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E5=88=9B=E5=BB=BAWinId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit wayland下需要creatWinId Log: 修复wayland下两排及以上窗口底部与任务栏重叠显示的问题 Influence: 多任务视图 Bug: https://pms.uniontech.com/bug-view-121717.html Change-Id: I2be6d6a0446d650b78f34d587f21a2acd5b772ac --- frame/util/multiscreenworker.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frame/util/multiscreenworker.cpp b/frame/util/multiscreenworker.cpp index 6c1cd907c..717471443 100644 --- a/frame/util/multiscreenworker.cpp +++ b/frame/util/multiscreenworker.cpp @@ -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);