Fix X11 window activation better (#13604)

Release Notes:

- N/A
6a1b257d39Conrad Irwin committed on 6/27/2024, 8:36:29 PM· committed by GitHubparenta695322
2 files changedLine totals unavailable