Tk Source Code

Check-in [43a207ef]
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:Remove a missed unused variable.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 43a207ef55a402ca60cbb1992016268643630d42b45576b9c9e75b55ff6b9469
User & Date: culler 2019-02-13 21:35:51
Context
2019-02-15
20:05
Tcl_BackgroundError -> Tcl_BackgroundException. Mark deprecated macro's as such (remove then with -DTCL_NO_DEPRECATED). Change field in Tk_ClassProcs to size_t, when compiling against Tcl 9 headers check-in: f0471a9d user: jan.nijtmans tags: trunk
2019-02-13
21:35
Remove a missed unused variable. check-in: 43a207ef user: culler tags: trunk
21:32
Remove a missed unused variable. check-in: 4c2dacd6 user: culler tags: core-8-6-branch
21:02
Fix bug [2249e64bdc]: adjust unixWm tests which expect impossible results on Aqua. check-in: c21aba47 user: culler tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to macosx/tkMacOSXWindowEvent.c.

72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
    NSWindow *w = [notification object];
    TkWindow *winPtr = TkMacOSXGetTkWindow(w);

    if (winPtr) {
	WmInfo *wmPtr = winPtr->wmInfoPtr;
	NSRect bounds = [w frame];
	int x, y, width = -1, height = -1, flags = 0;
	int minY = 1 + [[NSApp mainMenu] menuBarHeight];

	x = bounds.origin.x;
	y = tkMacOSXZeroScreenHeight - (bounds.origin.y + bounds.size.height);
	if (winPtr->changes.x != x || winPtr->changes.y != y) {
	    flags |= TK_LOCATION_CHANGED;
	} else {
	    x = y = -1;






<







72
73
74
75
76
77
78

79
80
81
82
83
84
85
    NSWindow *w = [notification object];
    TkWindow *winPtr = TkMacOSXGetTkWindow(w);

    if (winPtr) {
	WmInfo *wmPtr = winPtr->wmInfoPtr;
	NSRect bounds = [w frame];
	int x, y, width = -1, height = -1, flags = 0;


	x = bounds.origin.x;
	y = tkMacOSXZeroScreenHeight - (bounds.origin.y + bounds.size.height);
	if (winPtr->changes.x != x || winPtr->changes.y != y) {
	    flags |= TK_LOCATION_CHANGED;
	} else {
	    x = y = -1;