summaryrefslogtreecommitdiffstats
path: root/win/tkWinX.c
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2010-01-02 10:43:25 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2010-01-02 10:43:25 (GMT)
commit184d44a35ac47f0676d36ba9f8d0d27a6dae0e5a (patch)
tree53a45c4d70540a15b2d1bb2508e567ad721e65b6 /win/tkWinX.c
parent4bed403ab0a0990d572614ad3d46a07c7882d2a6 (diff)
downloadtk-184d44a35ac47f0676d36ba9f8d0d27a6dae0e5a.zip
tk-184d44a35ac47f0676d36ba9f8d0d27a6dae0e5a.tar.gz
tk-184d44a35ac47f0676d36ba9f8d0d27a6dae0e5a.tar.bz2
Fix [Bug 1373712] and [Bug 1924761].
Diffstat (limited to 'win/tkWinX.c')
-rw-r--r--win/tkWinX.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/tkWinX.c b/win/tkWinX.c
index e5e9e7b..e603e4a 100644
--- a/win/tkWinX.c
+++ b/win/tkWinX.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: tkWinX.c,v 1.57 2007/12/13 15:28:56 dgp Exp $
+ * RCS: @(#) $Id: tkWinX.c,v 1.57.2.1 2010/01/02 10:43:26 dkf Exp $
*/
/*
@@ -1010,6 +1010,7 @@ GenerateXEvent(
return;
}
+ memset(&event, 0, sizeof(XEvent));
event.xany.serial = winPtr->display->request++;
event.xany.send_event = False;
event.xany.display = winPtr->display;