ref #15 fix x11 message dispatch