Fix x11 sendmessage