mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
fix: 修复仅显示在主屏时,任务栏一直隐藏模式可能无法唤醒的问题
仅显示在主屏时,设置监听区域的时候,如果判断副屏是否可显示任务栏,不符合会直接return,导致其他屏幕监听对应区域的代码未执行,改成continue就好了 Log: 修复任务栏一直隐藏模式可能无法显示的问题 Change-Id: I1e2b3c8777d7ee279a6d5462409ee97a7af03441
This commit is contained in:
parent
81fd4a245a
commit
49edbcdcef
@ -516,7 +516,7 @@ void MultiScreenWorker::onRequestUpdateRegionMonitor()
|
||||
for (auto s : DIS_INS->screens()) {
|
||||
// 屏幕此位置不可停靠时,不用监听这块区域
|
||||
if (!DIS_INS->canDock(s, m_position))
|
||||
return;
|
||||
continue;
|
||||
|
||||
MonitRect monitorRect;
|
||||
QRect screenRect = s->geometry();
|
||||
@ -565,7 +565,7 @@ void MultiScreenWorker::onRequestUpdateRegionMonitor()
|
||||
for (auto s : DIS_INS->screens()) {
|
||||
// 屏幕此位置不可停靠时,不用监听这块区域
|
||||
if (!DIS_INS->canDock(s, m_position))
|
||||
return;
|
||||
continue;
|
||||
|
||||
MonitRect monitorRect;
|
||||
QRect screenRect = s->geometry();
|
||||
@ -618,7 +618,7 @@ void MultiScreenWorker::onRequestUpdateRegionMonitor()
|
||||
for (auto s : DIS_INS->screens()) {
|
||||
// 屏幕此位置不可停靠时,不用监听这块区域
|
||||
if (!DIS_INS->canDock(s, m_position))
|
||||
return;
|
||||
continue;
|
||||
|
||||
MonitRect monitorRect;
|
||||
QRect screenRect = s->geometry();
|
||||
|
Loading…
x
Reference in New Issue
Block a user