[utils/x11] combine x11 helpers