fix(positioner): return error instead of panicking when window has no monitor (#3449)

This commit is contained in:
Slava Minamoto
2026-06-11 21:05:20 +08:00
committed by GitHub
parent c2b3981248
commit 4be7690085
2 changed files with 9 additions and 1 deletions
@@ -0,0 +1,6 @@
---
positioner: patch
positioner-js: patch
---
Replaced a panic in `calculate_position` with an error return when the window has no associated monitor (e.g. during display sleep or monitor reconfiguration).