]> asedeno.scripts.mit.edu Git - PuTTY.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)
commite350ca2b4e80bfea2fe4915d512000bcb353333b
tree71fa7553ced10e4cbd590dd592d227aa48c17cb2
parentf9a6c2e4a58c58ee03b86ac3f8ef8f37e0214645
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.

[originally from svn r9404]
windows/window.c