summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2009-04-11 04:26:49 (GMT)
committerdas <das>2009-04-11 04:26:49 (GMT)
commit1dfca47316450713ddcc2058ee9387a692f42bc6 (patch)
tree28c545f626a214db33c44e33fea8e1e39a0fafd6
parentc2c0fee9ad87834f9306f585cd216ebb77aa6d0b (diff)
downloadtk-1dfca47316450713ddcc2058ee9387a692f42bc6.zip
tk-1dfca47316450713ddcc2058ee9387a692f42bc6.tar.gz
tk-1dfca47316450713ddcc2058ee9387a692f42bc6.tar.bz2
revert HandleEventGenerate change, it was causing bind-8.2 to fail
-rw-r--r--ChangeLog3
-rw-r--r--generic/tkBind.c3
2 files changed, 1 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index a95640a..958e596 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -34,9 +34,6 @@
* generic/tkUtil.c (TkBackgroundEvalObjv): use Tcl_BackgroundException.
- * generic/tkBind.c (HandleEventGenerate): ensure window exists before
- generating an event for it (fixes testsuite crash).
-
* generic/tkTextBTree.c (TkBTreeDeleteIndexRange): add bounds check
to startEnd array access (fixes testsuite crash).
diff --git a/generic/tkBind.c b/generic/tkBind.c
index 4468793..1d59604 100644
--- a/generic/tkBind.c
+++ b/generic/tkBind.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: tkBind.c,v 1.53 2009/04/10 15:54:07 das Exp $
+ * RCS: @(#) $Id: tkBind.c,v 1.54 2009/04/11 04:26:49 das Exp $
*/
#include "tkInt.h"
@@ -3325,7 +3325,6 @@ HandleEventGenerate(
event.xany.serial = NextRequest(Tk_Display(tkwin));
event.xany.send_event = False;
if (windowName[0]) {
- Tk_MakeWindowExist(tkwin);
event.xany.window = Tk_WindowId(tkwin);
} else {
event.xany.window =