Added support for ICCCM size hints.

This checks the result of a resize operation, and ensures that it conforms
to the client's expectations.