summaryrefslogtreecommitdiffstats
path: root/generic/tkFocus.c
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tkFocus.c (TkFocusFilterEvent): Ignore event if we arehobbs2002-10-081-3/+10
| | | | focusing into a dead window. [Bug #588831] (griffin)
* * generic/tkBind.c (TkBindDeadWindow):mdejong2002-06-191-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle case where Tk_DestroyWindow is invoked on clipboard and send windows. * generic/tkClipboard.c (TkClipCleanup): Invoke Tk_DestroyWindow to cleanup the dispPtr->clipWindow. Call Tcl_Preserve and Tcl_Release on the window to avoid an invalid memory ref on shutdown. * generic/tkEvent.c (Tk_HandleEvent): Panic if XCreateIC is invoked twice for the same window. This should never happen, the check were just added to make sure it does not since this could lead to crashes in XCloseIM. * generic/tkFocus.c (TkFocusDeadWindow): Handle case where Tk_DestroyWindow is invoked on clipboard and send windows. * generic/tkOption.c (TkOptionDeadWindow): Ditto. * generic/tkWindow.c (TkCloseDisplay): Move deletion of dispPtr->winTable after TkpCloseDisplay call since Tk_DestroyWindow uses it and could be called by TkpCloseDisplay for clipboard/send windows. Also invoke ckfree for the dispPtr instead of doing it in TkpCloseDisplay. (Tk_DestroyWindow): Check for a null winPtr->mainPtr before doing certain cleanup tasks so the we can invoke Tk_DestroyWindow on clipboard and send windows. We need to do this so that XDestroyIC will get invoked for the input contexts of each window. * mac/tkMacXStubs.c (TkpCloseDisplay): Don't free the displayPtr since this is now done in TkCloseDisplay. * unix/tkUnixEvent.c (TkpCloseDisplay, OpenIM): Remove conditional compilation around calls to XCloseIM since I am confident that the crashes related to input contexts has been fixed. Don't free the displayPtr since this is now done in TkCloseDisplay. * unix/tkUnixSend.c (TkSendCleanup): Invoke the Tk_DestroyWindow method to cleanup the special send window. This will call XDestroyIC and thereby avoid a crash in XCloseIM. The send window needs to be Tcl_Preserve and Tcl_Release to avoid an invalid memory ref on shutdown. * win/tkWinX.c (TkpCloseDisplay): Don't free the displayPtr since this is now done in TkCloseDisplay.
* TIP #47 "Modifying Tk to Allow Writing X Window managers"jenglish2002-06-141-3/+3
| | | | | | | | (patch from Neil McKay). * Add CirculateRequest, Create, MapRequest, ResizeRequest, and ConfigureRequest event types; * Split TK_TOPLEVEL flag into TK_TOPLEVEL, TK_HAS_WRAPPER, TK_WIN_MANAGED, and TK_TOP_HIERARCHY.
* generic/tkFocus.c (TkFocusFree): frees TkMainInfo datahobbs2002-04-121-1/+37
|
* * Updates to handle change in type of tablePtrdgp2002-01-171-3/+4
| | | | | argument of Tcl_GetIndexFromObj(Struct) from (char **) to (CONST char **). [TIP 27] [Patch 504705]
* 1999-08-10 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-101-9/+8
| | | | | * generic/tkInt.decls: added TkSetFocusWin * generic/tkFocus.c: changed static SetFocus to TkSetFocusWin
* * Merged 8.1 branch into the main trunkstanton1999-04-161-77/+86
|
* * generic/tkFocus.c (SetFocus): Changed to focus window is alwaysstanton1999-02-041-2/+9
| | | | | set if -force is specified. This fixes the problem on Windows where Tk does not activate the window if it already has focus.
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-04-011-0/+998