]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Pay attention to the width and height provided in WM_SIZE even when
authorSimon Tatham <anakin@pobox.com>
Wed, 22 Dec 2010 16:14:11 +0000 (16:14 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 22 Dec 2010 16:14:11 +0000 (16:14 +0000)
commitf57db60395cbc97ca9ccf78ed9bca2b6cd5c34ec
tree9421b190540f31fa3d71d94fbc1dd8b1d22c2f79
parentc222ee0c62c50060f2c3cc346f933778df86061d
Pay attention to the width and height provided in WM_SIZE even when
restoring a maximised window.

Failure to do this was noticeable in the following scenario (again
using Aero UI enhancements):
 1. resize window using topmost resize handle, and move pointer to top
    of screen which 'maximises' the window vertically
 2. now maximise the window properly using the maximise button in top
    right
 3. now restore. Notepad restores to its position before step 1,
    because Aero remembers that position for the purpose, but PuTTY
    thinks it knows better. Only now it doesn't any more.

git-svn-id: http://svn.tartarus.org/sgt/putty@9041 cda61777-01e9-0310-a592-d414129be87e
windows/window.c