You are right, pure wayland and mir are certainly the proper solution to this issue, but projects like XFCE have very limited manpower and are unlikely to support anything other than X for the foreseeable future, so because of that it is nice to have a compatibility layer that can solve this issue.