diff options
author | culler <culler> | 2024-05-28 17:16:06 (GMT) |
---|---|---|
committer | culler <culler> | 2024-05-28 17:16:06 (GMT) |
commit | 57db60b89310192b0a8cf1fd78046eb622352839 (patch) | |
tree | 5c9ecd7a51f7d7a7bce299a64056f99ab025cc69 /generic | |
parent | d0863507871c8c40fefb431343082e2607e2f583 (diff) | |
parent | 4e2ce7f2c671d121814f282afbe74d72a6bdd217 (diff) | |
download | tk-57db60b89310192b0a8cf1fd78046eb622352839.zip tk-57db60b89310192b0a8cf1fd78046eb622352839.tar.gz tk-57db60b89310192b0a8cf1fd78046eb622352839.tar.bz2 |
Merge with macOS-14-CI so we can test on macOS 14; remove SendEnterLeaveForMap which seems to be unneeded.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkWindow.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c index c411bd3..85b5a0b 100644 --- a/generic/tkWindow.c +++ b/generic/tkWindow.c @@ -1755,26 +1755,6 @@ Tk_DestroyWindow( *-------------------------------------------------------------- */ -static void SendEnterLeaveForMap( - Tk_Window tkwin) -{ -#if defined(MAC_OSX_TK) || defined(_WIN32) - int x, y; - unsigned int state; - Tk_Window pointerWin; - - if (displayBeingClosed) { - return; - } - XQueryPointer(Tk_Display(tkwin), None, NULL, NULL, &x, &y, - NULL, NULL, &state); - pointerWin = Tk_CoordsToWindow(x, y, tkwin); - if (pointerWin == tkwin) { - Tk_UpdatePointer(tkwin, x, y, state); - } -#endif -} - void Tk_MapWindow( Tk_Window tkwin) /* Token for window to map. */ @@ -1814,7 +1794,6 @@ Tk_MapWindow( event.xmap.window = winPtr->window; event.xmap.override_redirect = winPtr->atts.override_redirect; Tk_HandleEvent(&event); - SendEnterLeaveForMap(tkwin); } /* |