mono/xwt — pull request #41 by carlosalberto (2012-03-09 20:08:28+00:00)
Title: Correctly handle WPF window bounds.

This involves two things:

1. Window's Width and Height include non-client areas,
so we need to adjust the values.
2. Window's Width and Height return Double.NaN if they haven't been
manually set, so we use the actual 'automatic' size as a
fallback.