summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXSubwindows.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-09-16 22:03:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-09-16 22:03:48 (GMT)
commit76d9a30bfaf8b9ae70bcbab9cbe66c487129bd56 (patch)
tree01bf37ba54f3c4f0bc6e599909eb63eba5078144 /macosx/tkMacOSXSubwindows.c
parenta3ba233aee169f23ead09b373bcabe49fef5965e (diff)
parent6ab1d5ec9aa0ecf66cf454b289ccfe7a25cdd717 (diff)
downloadtk-76d9a30bfaf8b9ae70bcbab9cbe66c487129bd56.zip
tk-76d9a30bfaf8b9ae70bcbab9cbe66c487129bd56.tar.gz
tk-76d9a30bfaf8b9ae70bcbab9cbe66c487129bd56.tar.bz2
Merge 8.7
Diffstat (limited to 'macosx/tkMacOSXSubwindows.c')
-rw-r--r--macosx/tkMacOSXSubwindows.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/macosx/tkMacOSXSubwindows.c b/macosx/tkMacOSXSubwindows.c
index 5c6a746..5a16e23 100644
--- a/macosx/tkMacOSXSubwindows.c
+++ b/macosx/tkMacOSXSubwindows.c
@@ -308,9 +308,6 @@ XUnmapWindow(
TkWindow *winPtr = macWin->winPtr;
TkWindow *parentPtr = winPtr->parentPtr;
NSWindow *win = TkMacOSXGetNSWindowForDrawable(window);
- NSPoint mouse = [NSEvent mouseLocation];
- int x = mouse.x, y = TkMacOSXZeroScreenHeight() - mouse.y;
- int state = TkMacOSXButtonKeyState();
if (!window) {
return BadWindow;
@@ -371,7 +368,6 @@ XUnmapWindow(
if (view != [NSView focusView]) {
[view addTkDirtyRect:[view bounds]];
}
- Tk_UpdatePointer(NULL, x, y, state);
return Success;
}