summaryrefslogtreecommitdiffstats
path: root/win/tkWinX.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-01-02 11:07:55 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-01-02 11:07:55 (GMT)
commit8a3e46aada6943f89dfdb746116c20fe332535eb (patch)
tree74ec102e33450a1e4e9ce197bebd5e9082d2738f /win/tkWinX.c
parent1a86dacbaaea58d12f5c210efdd06d8974adc362 (diff)
downloadtk-8a3e46aada6943f89dfdb746116c20fe332535eb.zip
tk-8a3e46aada6943f89dfdb746116c20fe332535eb.tar.gz
tk-8a3e46aada6943f89dfdb746116c20fe332535eb.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 a91c3bd..8b27b1e 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.61 2009/08/02 21:40:17 nijtmans Exp $
+ * RCS: @(#) $Id: tkWinX.c,v 1.62 2010/01/02 11:07:56 dkf Exp $
*/
/*
@@ -1033,6 +1033,7 @@ GenerateXEvent(
return;
}
+ memset(&event, 0, sizeof(XEvent));
event.xany.serial = winPtr->display->request++;
event.xany.send_event = False;
event.xany.display = winPtr->display;