]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
WM_SIZE/SIZE_MAXIMIZED can show up even during an interactive resize,
authorSimon Tatham <anakin@pobox.com>
Sun, 5 Feb 2012 10:08:20 +0000 (10:08 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 5 Feb 2012 10:08:20 +0000 (10:08 +0000)
commite42f60f6dbdcde157fb4a99db6c849b017c2829b
tree71fa7553ced10e4cbd590dd592d227aa48c17cb2
parent992cdec5ed778e90a76e54dcb5259c2da3b797ef
WM_SIZE/SIZE_MAXIMIZED can show up even during an interactive resize,
so we should ensure we treat it the same way as other WM_SIZEs that
show up during that time: set the width and height in conf, and set
the flag to have that width and height enacted on WM_EXITSIZEMOVE.

Fixes a bug in which dragging a PuTTY window directly from the Win7
snapped-to-half-screen position to the snapped-to-maximised state
would leave the terminal in the pre-snapped size.

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