summaryrefslogtreecommitdiffstats
path: root/generic/tkEvent.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2005-11-30 21:13:12 (GMT)
committerhobbs <hobbs>2005-11-30 21:13:12 (GMT)
commit64681cfdbdddc55ac3a4b40e266e4b3fb63b6cad (patch)
treea48e640f62cd4d6b5a571631d0dd37a80c341a10 /generic/tkEvent.c
parentd3abd439c2eefe10a795072dffe4b257f0644510 (diff)
downloadtk-64681cfdbdddc55ac3a4b40e266e4b3fb63b6cad.zip
tk-64681cfdbdddc55ac3a4b40e266e4b3fb63b6cad.tar.gz
tk-64681cfdbdddc55ac3a4b40e266e4b3fb63b6cad.tar.bz2
* generic/tkEvent.c: fix handling of ClientMessage handlers.
[Bug 1289565 983920]
Diffstat (limited to 'generic/tkEvent.c')
-rw-r--r--generic/tkEvent.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkEvent.c b/generic/tkEvent.c
index abf7404..145d5d7 100644
--- a/generic/tkEvent.c
+++ b/generic/tkEvent.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkEvent.c,v 1.17.2.6 2004/10/26 16:39:01 rmax Exp $
+ * RCS: @(#) $Id: tkEvent.c,v 1.17.2.7 2005/11/30 21:13:12 hobbs Exp $
*/
#include "tkPort.h"
@@ -983,11 +983,11 @@ Tk_HandleEvent(eventPtr)
Tk_InternAtom((Tk_Window) winPtr, "WM_PROTOCOLS")) {
TkWmProtocolEventProc(winPtr, eventPtr);
} else {
- /*
+ /*
* Finally, invoke any ClientMessage event handlers.
*/
- for (genPrevPtr = NULL, genericPtr = tsdPtr->cmList;
+ for (genPrevPtr = NULL, genericPtr = tsdPtr->cmList;
genericPtr != NULL; ) {
if (genericPtr->deleteFlag) {
if (!tsdPtr->handlersActive) {
@@ -1006,7 +1006,7 @@ Tk_HandleEvent(eventPtr)
genPrevPtr->nextPtr = tmpPtr;
}
if (tmpPtr == NULL) {
- tsdPtr->lastGenericPtr = genPrevPtr;
+ tsdPtr->lastCmPtr = genPrevPtr;
}
(void) ckfree((char *) genericPtr);
genericPtr = tmpPtr;