diff options
author | hobbs <hobbs> | 2005-11-30 21:13:12 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2005-11-30 21:13:12 (GMT) |
commit | 9f0a88811e58296be56492cc3d3ef3486c88ab38 (patch) | |
tree | a48e640f62cd4d6b5a571631d0dd37a80c341a10 /generic/tkEvent.c | |
parent | 48541e4ea98686188f6947b23ef87df52b1aed62 (diff) | |
download | tk-9f0a88811e58296be56492cc3d3ef3486c88ab38.zip tk-9f0a88811e58296be56492cc3d3ef3486c88ab38.tar.gz tk-9f0a88811e58296be56492cc3d3ef3486c88ab38.tar.bz2 |
* generic/tkEvent.c: fix handling of ClientMessage handlers.
[Bug 1289565 983920]
Diffstat (limited to 'generic/tkEvent.c')
-rw-r--r-- | generic/tkEvent.c | 8 |
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; |