summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXSubwindows.c
diff options
context:
space:
mode:
authormarc_culler <marc.culler@gmail.com>2022-09-14 15:46:55 (GMT)
committermarc_culler <marc.culler@gmail.com>2022-09-14 15:46:55 (GMT)
commit17fec6f2e0198bee9dc591bc12c7d849e52e71f0 (patch)
tree9fccc31a78e63377e6cc153e9843954722cc78c3 /macosx/tkMacOSXSubwindows.c
parentf3e89c70b92362935a7ca813c3ab6ece4ff74ae5 (diff)
parent43fdce7518d6c83f40b1c5d07c89bb4bc28f1383 (diff)
downloadtk-17fec6f2e0198bee9dc591bc12c7d849e52e71f0.zip
tk-17fec6f2e0198bee9dc591bc12c7d849e52e71f0.tar.gz
tk-17fec6f2e0198bee9dc591bc12c7d849e52e71f0.tar.bz2
Merge 8.6
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 8908183..f631b5d 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;
}