X11 2.3.1 addresses X11 issues in Mac OS X 10.5.5.

In general, keep your X11 updates around after installing them because you need to re-install it if you install OS or security updates through Apple’s Software Update.