diff options
author | dkf <dkf@noemail.net> | 2010-01-02 11:07:55 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2010-01-02 11:07:55 (GMT) |
commit | 0609350545c7a61ae16e0cf0d6a898b544a98565 (patch) | |
tree | 74ec102e33450a1e4e9ce197bebd5e9082d2738f /macosx | |
parent | 70c1a58c08ac0358bd5403070e632a5ef2dae9af (diff) | |
download | tk-0609350545c7a61ae16e0cf0d6a898b544a98565.zip tk-0609350545c7a61ae16e0cf0d6a898b544a98565.tar.gz tk-0609350545c7a61ae16e0cf0d6a898b544a98565.tar.bz2 |
Fix [Bug 1373712] and [Bug 1924761].
FossilOrigin-Name: a5ab1bd805d9055802e3b0a110c7dbc80231f8b3
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXKeyEvent.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/tkMacOSXKeyEvent.c b/macosx/tkMacOSXKeyEvent.c index 6d4a367..4e081a0 100644 --- a/macosx/tkMacOSXKeyEvent.c +++ b/macosx/tkMacOSXKeyEvent.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXKeyEvent.c,v 1.28 2009/07/06 20:29:21 dkf Exp $ + * RCS: @(#) $Id: tkMacOSXKeyEvent.c,v 1.29 2010/01/02 11:07:56 dkf Exp $ */ #include "tkMacOSXPrivate.h" @@ -107,6 +107,7 @@ static NSModalSession modalSession = NULL; XEvent xEvent; + memset(xEvent, 0, sizeof(XEvent)); xEvent.xany.serial = LastKnownRequestProcessed(Tk_Display(tkwin)); xEvent.xany.send_event = false; xEvent.xany.display = Tk_Display(tkwin); |