From 3b3d2d3a1c7577238c153a628ef3f6b8bf0e26b1 Mon Sep 17 00:00:00 2001 From: das Date: Sat, 11 Apr 2009 04:26:59 +0000 Subject: revert HandleEventGenerate change, it was causing bind-8.2 to fail --- ChangeLog | 3 --- generic/tkBind.c | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1675dac..c9041841 100644 --- a/ChangeLog +++ b/ChangeLog @@ -52,9 +52,6 @@ * generic/tkMenubutton.c: s/DEF_BUTTON_JUSTIFY/DEF_MENUBUTTON_JUSTIFY/ - * 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 94b961c..a83c6ad 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.45.2.1 2009/04/10 15:54:44 das Exp $ + * RCS: @(#) $Id: tkBind.c,v 1.45.2.2 2009/04/11 04:26:59 das Exp $ */ #include "tkInt.h" @@ -3359,7 +3359,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 = -- cgit v0.12