diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-09-16 22:03:48 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-09-16 22:03:48 (GMT) |
commit | 76d9a30bfaf8b9ae70bcbab9cbe66c487129bd56 (patch) | |
tree | 01bf37ba54f3c4f0bc6e599909eb63eba5078144 /macosx/tkMacOSXSubwindows.c | |
parent | a3ba233aee169f23ead09b373bcabe49fef5965e (diff) | |
parent | 6ab1d5ec9aa0ecf66cf454b289ccfe7a25cdd717 (diff) | |
download | tk-76d9a30bfaf8b9ae70bcbab9cbe66c487129bd56.zip tk-76d9a30bfaf8b9ae70bcbab9cbe66c487129bd56.tar.gz tk-76d9a30bfaf8b9ae70bcbab9cbe66c487129bd56.tar.bz2 |
Merge 8.7
Diffstat (limited to 'macosx/tkMacOSXSubwindows.c')
-rw-r--r-- | macosx/tkMacOSXSubwindows.c | 4 |
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; } |