mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-09 02:45:58 +01:00
Fix incorrect layout positions in mirror re-add
This commit is contained in:
parent
e427d9f622
commit
1f72237291
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ void CMonitor::setMirror(const std::string& mirrorOf) {
|
|||
|
||||
setupDefaultWS(RULE);
|
||||
|
||||
wlr_output_layout_add(g_pCompositor->m_sWLROutputLayout, output, (int)vecPosition.x, (int)vecPosition.y);
|
||||
g_pHyprRenderer->applyMonitorRule(this, (SMonitorRule*)&RULE, true); // will apply the offset and stuff
|
||||
} else {
|
||||
CMonitor* BACKUPMON = nullptr;
|
||||
for (auto& m : g_pCompositor->m_vMonitors) {
|
||||
|
|
Loading…
Reference in a new issue