30 Nov
2023
30 Nov
'23
6:18 p.m.
On Thu Nov 30 18:13:34 2023 +0000, Paul Gofman wrote:
An extra reparent might be expensive, what is the benefit of doing it in two steps? Using attach_client_window, and having the tiny details (like XSelectInput client window context) handled only within these two (attach / detach) operations.
I don't think it's very expensive compared to all the other operations that we have to do at this point (creating a window + XSync + XFlush + XMapWindow). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4565#note_54424