Added error message when the XShape extension isn't supported.