Wayland is approximately correct in this case and Windows and Mac are behind the security curve for bincompat reasons; window titles certainly leak PII. There should be a way to do it, but it is sensitive information.
Is there any documented attack on macOS or Windows that utilized window title information?
Is there any documented attack on macOS or Windows that utilized window title information?