Tk Source Code

Check-in [659cc90e]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:eliminate unneeded variable displayFocusPtr
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core-8-5-branch
Files: files | file ages | folders
SHA1: 659cc90e08ec27012bf75e0b25c1976615819e5f
User & Date: jan 2011-04-21 22:56:32
Context
2011-04-22
18:21
[Bug 3291543] There was a crash if dchars removed all coordinates of a polygon. check-in: 7262cbf0 user: pspjuth tags: core-8-5-branch
2011-04-21
23:03
merge-mark check-in: 1dcdcb18 user: jan tags: trunk
22:56
eliminate unneeded variable displayFocusPtr check-in: 659cc90e user: jan tags: core-8-5-branch
21:18
Document all variable options as global. check-in: 826dd8fd user: pspjuth tags: core-8-5-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to generic/tkFocus.c.

1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
void
TkFocusSplit(winPtr)
    TkWindow *winPtr;          /* Window is the new toplevel
                                * Any focus point at or below window
				* must be moved to this new toplevel */
{
    ToplevelFocusInfo *tlFocusPtr;
    DisplayFocusInfo *displayFocusPtr;
    TkWindow *topLevelPtr;
    TkWindow *subWinPtr;

    displayFocusPtr = FindDisplayFocusInfo(winPtr->mainPtr, winPtr->dispPtr);

    /*
     * Find the top-level window for winPtr, then find (or create)
     * a record for the top-level.  Also see whether winPtr and all its
     * ancestors are mapped.
     */








<



|







1073
1074
1075
1076
1077
1078
1079

1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
void
TkFocusSplit(winPtr)
    TkWindow *winPtr;          /* Window is the new toplevel
                                * Any focus point at or below window
				* must be moved to this new toplevel */
{
    ToplevelFocusInfo *tlFocusPtr;

    TkWindow *topLevelPtr;
    TkWindow *subWinPtr;

    FindDisplayFocusInfo(winPtr->mainPtr, winPtr->dispPtr);

    /*
     * Find the top-level window for winPtr, then find (or create)
     * a record for the top-level.  Also see whether winPtr and all its
     * ancestors are mapped.
     */