mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:15:21 +00:00
fix: 修复部分情况在任务栏消失的问题
修复部分情况在任务栏消失的问题 Log: 修复部分情况在任务栏消失的问题 Influence: 修复部分情况在任务栏消失的问题 Bug: https://pms.uniontech.com/bug-view-147877.html Change-Id: I806e23a818bc1148b19872924b05b79925e53e57
This commit is contained in:
parent
f543b732d1
commit
92006e1627
@ -276,6 +276,10 @@ void MultiScreenWorker::updateDisplay()
|
||||
//3、任务栏高度或宽度调整的拖拽区域,
|
||||
//4、通知窗管的任务栏显示区域信息,
|
||||
//5、通知后端的任务栏显示区域信息
|
||||
|
||||
// wayland环境下,QScreen销毁也就是拔掉显示器的时候,会隐藏当前窗口,这里手动显示一次
|
||||
parent()->setVisible(true);
|
||||
|
||||
if (DIS_INS->screens().size() == 0) {
|
||||
qWarning() << "No Screen Can Display.";
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user