Get current window geometry.