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).