Fix for spurious Space getting sent when alt_space and alt_only are
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 7 Jan 2001 19:15:59 +0000 (19:15 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 7 Jan 2001 19:15:59 +0000 (19:15 +0000)
commit12c80d32a6e3687f0d923c696a8227c06b776201
treea0a98684dc465dd5a74e49840009adc70e18b84f
parent00e3ba0f99b3ef1b228612ce22952dbb232aded9
Fix for spurious Space getting sent when alt_space and alt_only are
both set and you bring up the Sysmenu with an alt_space and dispatch
it with an alt_only. (The SYSKEYDOWN for alt_only is never received,
but we get the SYSKEYUP which PostMessages the space since it
expects to be triggering the _creation_ of a sysmenu. Solution: set
alt_state to 0 when an alt_space triggers a sysmenu, so that the
final SYSKEYUP will be seen as spurious, which it is. Perhaps we
could do this better.)

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