mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 21:06:01 +01:00
fix default 0 in box passing test
This commit is contained in:
parent
05f3eebd96
commit
2caebb3b10
1 changed files with 1 additions and 1 deletions
|
@ -1221,7 +1221,7 @@ bool CHyprRenderer::applyMonitorRule(CMonitor* pMonitor, SMonitorRule* pMonitorR
|
|||
|
||||
// updato wlroots
|
||||
if (!pMonitor->isMirror()) {
|
||||
wlr_box box = {0, 0, 0, 0};
|
||||
wlr_box box = {-UINT16_MAX, -UINT16_MAX, 0, 0};
|
||||
wlr_output_layout_get_box(g_pCompositor->m_sWLROutputLayout, pMonitor->output, &box);
|
||||
|
||||
if (!DELTALESSTHAN(box.x, pMonitor->vecPosition.x, 1) || !DELTALESSTHAN(box.y, pMonitor->vecPosition.y, 1)) {
|
||||
|
|
Loading…
Reference in a new issue