Tk Source Code

Check-in [bfdb0257]
Login

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

Overview
Comment:unused variable
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | bug-533519
Files: files | file ages | folders
SHA1: bfdb02579172f14e9bfce2ec154f9be1944a9387
User & Date: jan.nijtmans 2012-04-20 13:20:37
Context
2012-05-02
11:22
[Bug 533519]: Window placement with multiple screens check-in: cb030e1f user: jan.nijtmans tags: core-8-4-branch
2012-04-21
08:06
same bugfix, but now applied to trunk check-in: 01afcbe1 user: jan.nijtmans tags: bug-533519
2012-04-20
13:20
unused variable check-in: bfdb0257 user: jan.nijtmans tags: bug-533519
12:50
fix (hopefully) menu posting in the same way as window placement check-in: b1dda72b user: jan.nijtmans tags: bug-533519
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to generic/tkMenuDraw.c.

853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
    TkMenu *menuPtr;			/* The menu we are posting */
    int x;				/* The root X coordinate where we
					 * are posting */
    int y;				/* The root Y coordinate where we
					 * are posting */
{
    int vRootX, vRootY, vRootWidth, vRootHeight;
    int tmp, result;

    TkActivateMenuEntry(menuPtr, -1);
    TkRecomputeMenu(menuPtr);
    result = TkPostCommand(menuPtr);
    if (result != TCL_OK) {
    	return result;
    }







|







853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
    TkMenu *menuPtr;			/* The menu we are posting */
    int x;				/* The root X coordinate where we
					 * are posting */
    int y;				/* The root Y coordinate where we
					 * are posting */
{
    int vRootX, vRootY, vRootWidth, vRootHeight;
    int result;

    TkActivateMenuEntry(menuPtr, -1);
    TkRecomputeMenu(menuPtr);
    result = TkPostCommand(menuPtr);
    if (result != TCL_OK) {
    	return result;
    }