Tk Source Code

Check-in [83aef193]
Login

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

Overview
Comment:merge mark: fix typo in comment
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 83aef1939a34889741924fbc92fd18e71ad6d500
User & Date: dkf 2012-07-31 20:28:52
Context
2012-08-02
08:52
merge-mark check-in: b78671c8 user: jan.nijtmans tags: trunk
08:18
merge trunk check-in: 905167c9 user: jan.nijtmans tags: jn-web-colors
2012-07-31
20:28
merge mark: fix typo in comment check-in: 83aef193 user: dkf tags: trunk
20:24
[Bug 3551802]: Convert from XKeycodeToKeysym to XkbKeycodeToKeysym to fix deprecation warning. check-in: 59106aa3 user: dkf tags: core-8-5-branch
18:11
ttk::entry: Fix incorrect clip region computation [Bug 3552404] check-in: 2de6634d user: jenglish tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to unix/tkUnixKey.c.

207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
    kePtr->charValueLen = len;
    memcpy(kePtr->charValuePtr, Tcl_DStringValue(dsPtr), (unsigned) len + 1);
    return Tcl_DStringValue(dsPtr);
}

/*
 * When mapping from a keysym to a keycode, need information about the
 * modifier state tp be used so that when they call XkbKeycodeToKeysym taking
 * into account the xkey.state, they will get back the original keysym.
 */

void
TkpSetKeycodeAndState(
    Tk_Window tkwin,
    KeySym keySym,







|







207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
    kePtr->charValueLen = len;
    memcpy(kePtr->charValuePtr, Tcl_DStringValue(dsPtr), (unsigned) len + 1);
    return Tcl_DStringValue(dsPtr);
}

/*
 * When mapping from a keysym to a keycode, need information about the
 * modifier state to be used so that when they call XkbKeycodeToKeysym taking
 * into account the xkey.state, they will get back the original keysym.
 */

void
TkpSetKeycodeAndState(
    Tk_Window tkwin,
    KeySym keySym,