Use a dispatch table to handle X client messages.