Tk Source Code

Check-in [8ad2b2d0]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

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

Overview
Comment:Propagate the call to TkpInitKeymapInfo in TkpOpenDisplay from Linux to macOS.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | bug6e8afe516d | tip-532
Files: files | file ages | folders
SHA3-256: 8ad2b2d04568d6109ec55f90fc219ef71c053c047ea008696f04d6e80a9ce544
User & Date: fvogel 2019-02-03 20:31:45
Context
2019-03-29
19:40
Merge 8.6 check-in: fd419d47 user: jan.nijtmans tags: bug6e8afe516d, tip-532
2019-02-03
20:32
Propagate the call to TkpInitKeymapInfo in TkpOpenDisplay from Linux to Windows and macOS. check-in: fba343f0 user: fvogel tags: bug6e8afe516d-87, tip-532
20:31
Propagate the call to TkpInitKeymapInfo in TkpOpenDisplay from Linux to macOS. check-in: 8ad2b2d0 user: fvogel tags: bug6e8afe516d, tip-532
20:22
Propagate the call to TkpInitKeymapInfo in TkpOpenDisplay from Linux to Windows. check-in: a2d9055c user: fvogel tags: bug6e8afe516d, tip-532
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to macosx/tkMacOSXXStubs.c.

221
222
223
224
225
226
227






228
229
230
231
232
233
234
     * This is the quickest way to make sure that all the *Init flags get
     * properly initialized
     */

    bzero(gMacDisplay, sizeof(TkDisplay));
    gMacDisplay->display = display;
    [pool drain];






    return gMacDisplay;
}
 
/*
 *----------------------------------------------------------------------
 *
 * TkpCloseDisplay --






>
>
>
>
>
>







221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
     * This is the quickest way to make sure that all the *Init flags get
     * properly initialized
     */

    bzero(gMacDisplay, sizeof(TkDisplay));
    gMacDisplay->display = display;
    [pool drain];

    /*
     * Key map info must be available immediately, because of "send event".
     */
    TkpInitKeymapInfo(gMacDisplay);

    return gMacDisplay;
}
 
/*
 *----------------------------------------------------------------------
 *
 * TkpCloseDisplay --