compositor: fix getMonitorInDirection skipping active monitor (#10114)
This commit is contained in:
parent
f48ee7a3d1
commit
867bc86089
1 changed files with 1 additions and 1 deletions
|
|
@ -1780,7 +1780,7 @@ PHLMONITOR CCompositor::getMonitorInDirection(PHLMONITOR pSourceMonitor, const c
|
|||
PHLMONITOR longestIntersectMonitor = nullptr;
|
||||
|
||||
for (auto const& m : m_vMonitors) {
|
||||
if (m == m_pLastMonitor)
|
||||
if (m == pSourceMonitor)
|
||||
continue;
|
||||
|
||||
const auto POSB = m->vecPosition;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue