diff options
author | culler <culler> | 2024-05-25 13:19:06 (GMT) |
---|---|---|
committer | culler <culler> | 2024-05-25 13:19:06 (GMT) |
commit | c7a1c8ab1b6d29b631d2b77c3ddf3159b191000e (patch) | |
tree | 12200bc07fe42078da0a17087e167a8169a6b90f | |
parent | 9317a30b3627fcf0010375bf708cc3fb5432a915 (diff) | |
download | tk-c7a1c8ab1b6d29b631d2b77c3ddf3159b191000e.zip tk-c7a1c8ab1b6d29b631d2b77c3ddf3159b191000e.tar.gz tk-c7a1c8ab1b6d29b631d2b77c3ddf3159b191000e.tar.bz2 |
Fix silly error.
-rw-r--r-- | win/tkWinWm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinWm.c b/win/tkWinWm.c index 31fa03f..6d72009 100644 --- a/win/tkWinWm.c +++ b/win/tkWinWm.c @@ -2584,9 +2584,9 @@ static void CheckForPointer(TkWindow *winPtr) unsigned int state = TkWinGetModifierState(); TkWindow **windows = TkWmStackorderToplevel(winPtr->mainPtr->winPtr); TkWindow **w; - x = (int) mouse.x; - y = (int) mouse.y; TkGetPointerCoords(NULL, &x, &y); + mouse.x = x; + mouse.y = y; if (windows != NULL) { for (w = windows; *w ; w++) { RECT windowRect; |