]> asedeno.scripts.mit.edu Git - PuTTY.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)
commit17f6ca03605e80f8b1bcbc54115f68917ceb0a03
tree9421b190540f31fa3d71d94fbc1dd8b1d22c2f79
parent0b6407878a506d1cd1972dae0288adf5e87aef56
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.

[originally from svn r9041]
windows/window.c