]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Reorganise handling of WM_SIZE to fix two generality problems.
authorSimon Tatham <anakin@pobox.com>
Wed, 22 Dec 2010 15:49:33 +0000 (15:49 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 22 Dec 2010 15:49:33 +0000 (15:49 +0000)
commit0b6407878a506d1cd1972dae0288adf5e87aef56
treea7506e4f4afb80d4a46211d6e6f1202f10a0207f
parent094459a7e69a5df0c426b001475863cb1c933cf2
Reorganise handling of WM_SIZE to fix two generality problems.

Firstly, maximise and restore events were expected never to occur
during an interactive resize process (i.e. between WM_ENTERSIZEMOVE
and WM_EXITSIZEMOVE), but in fact Aero now allows this to happen if
you move the pointer to the top of the screen while dragging the
window.

Secondly, plain old WM_SIZE events were expected never to occur
_outside_ interactive resizes, but Aero permits that too (e.g.
Windows-left and Windows-right), and also third-party window
repositioning tools will send these.

[originally from svn r9040]
windows/window.c