18 Feb
2026
18 Feb
'26
4:46 p.m.
The problem is that the pending state is supposed to represent a pending operation we already did, right? But we never did it, because we skipped it (and just did a XNoOp instead), so exiting early in such case doesn't make sense.
Kind of, yeah, but the same is true for the serial, and the XNoOp is assuming that the window is soon mapped and therefore activated. This was mostly an attempt at fixing some issue with X11 WM getting confused about the request on an unmapped window. I'm not even sure it actually worked, it was for https://bugs.winehq.org/show_bug.cgi?id=58505 but didn't fully fix it, and it's possible I misdiagnosed the problem. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10133#note_129911