summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXWm.c
diff options
context:
space:
mode:
authorculler <culler>2024-05-19 03:08:05 (GMT)
committerculler <culler>2024-05-19 03:08:05 (GMT)
commitc9eed3be52a8f16837c1aaf6099edc1668739832 (patch)
treeb6e1e46895a459ea95fe26abd2b2cc2f9edc1151 /macosx/tkMacOSXWm.c
parentd2ef41555d8bb64bf21f2065a56365aa840cda77 (diff)
downloadtk-c9eed3be52a8f16837c1aaf6099edc1668739832.zip
tk-c9eed3be52a8f16837c1aaf6099edc1668739832.tar.gz
tk-c9eed3be52a8f16837c1aaf6099edc1668739832.tar.bz2
Remove debugging print statements.
Diffstat (limited to 'macosx/tkMacOSXWm.c')
-rw-r--r--macosx/tkMacOSXWm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/macosx/tkMacOSXWm.c b/macosx/tkMacOSXWm.c
index 1ada289..952da39 100644
--- a/macosx/tkMacOSXWm.c
+++ b/macosx/tkMacOSXWm.c
@@ -918,7 +918,6 @@ TkWmDeadWindow(
}
TKWindow *deadNSWindow = (TKWindow *)TkMacOSXGetNSWindowForDrawable(
Tk_WindowId(winPtr));
- //fprintf(stderr, "TkWmDeadWindow: will destroy %s\n", Tk_PathName(winPtr));
if (deadNSWindow == NULL) {
return;
}
@@ -998,7 +997,6 @@ TkWmDeadWindow(
NSPoint mouse = [NSEvent mouseLocation];
NSWindow *w;
[NSApp setTkPointerWindow:nil];
- //fprintf(stderr, " Looking for new pointer window\n");
winPtr2 = NULL;
for (w in [NSApp orderedWindows]) {
@@ -1027,11 +1025,8 @@ TkWmDeadWindow(
root_y = floor(TkMacOSXZeroScreenHeight() - mouse.y);
int win_x, win_y;
Tk_Window target = Tk_TopCoordsToWindow((Tk_Window) winPtr2, top_x, top_y, &win_x, &win_y);
- //fprintf(stderr, " new mouseWindow is %s\n",
- // target ? Tk_PathName(target) : "NULL");
Tk_UpdatePointer((Tk_Window) target, root_x, root_y, [NSApp tkButtonState]);
}
-// fflush(stderr);
/*
* Unregister the NSWindow and remove all references to it from the Tk