mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-25 17:21:54 -07:00
compositor: fix getMonitorInDirection skipping active monitor (#10114)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user