negotiate about window size properly