No, this is not the case (e.g. ArchLinux doesn't install XWayland if you install Wayland) and even if it is installed this does not mean that it is running thus you can't assume that this works.
Hello Sven.
You seem in bad mood today.
Anyway, if XWayland is not installed, no X11/Xorg applications can run or any call to X11 methods can be done so, indeed, idle check using
XNextEvent cannot be done
..
Why should there be an issue? If no XWayland is running it's perfectly normal for there to be no X11 events.
I was talking about a issue of XWayland who is part of X11/Xorg project and, of course, for XWayland running on a Wayland system.
So? Not everything needs to be part of FPC. Especially not units to interface with third party components. They can be, but no one said they must. And considering FPC's life cycle even if we'd add them it might be one or two years till a version which contains them is released. So better use what is provided externally.
OK, ok, you really need some holidays and chill out a few.
Peace Sven.
Fre;D