On Fri Apr 17 13:01:49 2026 +0000, Rémi Bernon wrote:
I think that in the case it "continue using the same monitor indices" and if the monitor indices don't change, then it wouldn't make a difference if we request them again or not. If the WM wants us to actually provide updated indices, it would be the "clear the list" case, which we could handle by tracking property deletions. But in any case, I think this scenario is just completely racy already right now and regardless of whether indices match or not: the sequence between monitor layout updates from XRandR, sysparams monitor updates, window repositioning on the corresponding WM_DISPLAYCHANGE, and corresponding WindowPosChanged calls, is very much undefined and unlikely to give deterministic results. But anyway, I'll look into making the ConfigureNotify heuristics a bit smarter.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10620#note_136743