mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-15 10:25:59 +01:00
parent
f044e4c951
commit
6a5c342063
1 changed files with 3 additions and 1 deletions
|
@ -1742,7 +1742,9 @@ void CHyprRenderer::arrangeLayerArray(PHLMONITOR pMonitor, const std::vector<PHL
|
||||||
Debug::log(ERR, "LayerSurface {:x} has a negative/zero w/h???", (uintptr_t)ls.get());
|
Debug::log(ERR, "LayerSurface {:x} has a negative/zero w/h???", (uintptr_t)ls.get());
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
// Apply
|
|
||||||
|
box.round(); // fix rounding errors
|
||||||
|
|
||||||
ls->geometry = box;
|
ls->geometry = box;
|
||||||
|
|
||||||
applyExclusive(*usableArea, PSTATE->anchor, PSTATE->exclusive, PSTATE->exclusiveEdge, PSTATE->margin.top, PSTATE->margin.right, PSTATE->margin.bottom, PSTATE->margin.left);
|
applyExclusive(*usableArea, PSTATE->anchor, PSTATE->exclusive, PSTATE->exclusiveEdge, PSTATE->margin.top, PSTATE->margin.right, PSTATE->margin.bottom, PSTATE->margin.left);
|
||||||
|
|
Loading…
Reference in a new issue