mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-10-05 17:17:47 +03:00
Minor formatting fix
This commit is contained in:
parent
63e365eae7
commit
3eba09b15e
@ -388,11 +388,15 @@ void CPointerManager::updateCursorBackend() {
|
||||
|
||||
for (auto& m : g_pCompositor->m_vMonitors) {
|
||||
updateCursorBackendForMonitor(m, *PNOHW);
|
||||
for (auto& mirror : m->mirrors)
|
||||
for (auto& M : g_pCompositor->m_vRealMonitors)
|
||||
for (auto& mirror : m->mirrors) {
|
||||
for (auto& M : g_pCompositor->m_vRealMonitors) {
|
||||
// update backend for mirrors when using hardware cursor
|
||||
if (M->ID == mirror->ID && !*PNOHW)
|
||||
updateCursorBackendForMonitor(M, *PNOHW);
|
||||
if (M->ID == mirror->ID && !*PNOHW) {
|
||||
updateCursorBackendForMonitor(M, true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user