When running wraith on KDE, the window is greyed out because KDE has determined that it has stopped responding to input. This is not actually the case, but wraith is not responding to the ping requests from the compositor which is how KDE detects this. Also see: https://wayland.app/protocols/xdg-shell#xdg_wm_base:event:ping