Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | [Bug 3562426]: Context menu goes out of edge of screen.
PLEASE DON'T PUT THIS ASIDE TO A MISTAKE BRANCH OR SOMETHING! It's simply a fork, in fossil there's nothing wrong with that! |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | core-8-4-branch |
Files: | files | file ages | folders |
SHA1: |
65071721e87248e77a652e22164a9aae |
User & Date: | jan.nijtmans 2012-08-28 13:59:07 |
Original Comment: | [Bug 3562426]: Context menu goes out of edge of screen |
Context
2012-08-28
| ||
14:02 | [Bug 3562426]: Context menu goes out of edge of screen check-in: 9e4a1cd8 user: jan.nijtmans tags: core-8-4-branch | |
13:59 |
[Bug 3562426]: Context menu goes out of edge of screen.
PLEASE DON'T PUT THIS ASIDE TO A MISTAKE BRANCH OR SOMETHING! It's simply a fork, in fossil there's nothing wrong with that! check-in: 65071721 user: jan.nijtmans tags: core-8-4-branch | |
2012-08-17
| ||
07:50 | nmakehlp: Add "-V<num>" option, in order to be able to detect partial version numbers. check-in: ccc54f7f user: jan.nijtmans tags: core-8-4-branch | |
Changes
Changes to ChangeLog.
1 2 3 4 5 6 7 | 2012-08-17 Jan Nijtmans <[email protected]> * win/nmakehlp.c: Add "-V<num>" option, in order to be able to detect partial version numbers. 2012-08-03 Francois Vogel <[email protected]> | > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 | 2012-08-28 Jan Nijtmans <[email protected]> * generic/tkMenuDraw.c: [Bug 3562426]: Context menu goes out of edge of screen. 2012-08-17 Jan Nijtmans <[email protected]> * win/nmakehlp.c: Add "-V<num>" option, in order to be able to detect partial version numbers. 2012-08-03 Francois Vogel <[email protected]> |
︙ | ︙ |
Changes to generic/tkMenuDraw.c.
︙ | ︙ | |||
892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 | * 2. The menu may not have been mapped yet, so its current size * might be the default 1x1. To compute how much space it * needs, use its requested size, not its actual size. */ Tk_GetVRootGeometry(Tk_Parent(menuPtr->tkwin), &vRootX, &vRootY, &vRootWidth, &vRootHeight); if (x > vRootX + vRootWidth) { x = vRootX + vRootWidth; } if (x < vRootX) { x = vRootX; } if (y > vRootY + vRootHeight) { y = vRootY + vRootHeight; } if (y < vRootY) { y = vRootY; } Tk_MoveToplevelWindow(menuPtr->tkwin, x, y); | > > | 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 | * 2. The menu may not have been mapped yet, so its current size * might be the default 1x1. To compute how much space it * needs, use its requested size, not its actual size. */ Tk_GetVRootGeometry(Tk_Parent(menuPtr->tkwin), &vRootX, &vRootY, &vRootWidth, &vRootHeight); vRootWidth -= Tk_ReqWidth(menuPtr->tkwin); if (x > vRootX + vRootWidth) { x = vRootX + vRootWidth; } if (x < vRootX) { x = vRootX; } vRootHeight -= Tk_ReqHeight(menuPtr->tkwin); if (y > vRootY + vRootHeight) { y = vRootY + vRootHeight; } if (y < vRootY) { y = vRootY; } Tk_MoveToplevelWindow(menuPtr->tkwin, x, y); |
︙ | ︙ |