Fix 100s freeze on boot on X11 (#13156)

Release Notes:

- Fixed switching between dark and light mode with no windows open.
eecbf203dcConrad Irwin committed on 6/17/2024, 6:44:32 PM· committed by GitHubparent7fe5c27
5 files changedLine totals unavailable