This page linked in the bottom explains a lot:
https://www.kicad.org/blog/2025/06/KiCad-and-Wayland-Support...