summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorculler <culler>2024-05-28 17:16:06 (GMT)
committerculler <culler>2024-05-28 17:16:06 (GMT)
commit57db60b89310192b0a8cf1fd78046eb622352839 (patch)
tree5c9ecd7a51f7d7a7bce299a64056f99ab025cc69 /generic
parentd0863507871c8c40fefb431343082e2607e2f583 (diff)
parent4e2ce7f2c671d121814f282afbe74d72a6bdd217 (diff)
downloadtk-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.c21
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);
}
/*