xrdp-ng: refactor data types