]> asedeno.scripts.mit.edu Git - PuTTY_svn.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)
commitc222ee0c62c50060f2c3cc346f933778df86061d
treea7506e4f4afb80d4a46211d6e6f1202f10a0207f
parent22460afd3e152e7763d6315366cff61162d67f4a
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.

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