Otherwise we have a potential crash when we send keys to the non-existent xwayland wayland connection