summaryrefslogtreecommitdiffstats
path: root/generic/tkPointer.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkPointer.c')
-rw-r--r--generic/tkPointer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkPointer.c b/generic/tkPointer.c
index 7f1d113..f764904 100644
--- a/generic/tkPointer.c
+++ b/generic/tkPointer.c
@@ -509,7 +509,7 @@ TkPointerDeadWindow(
* window.
*/
- if (winPtr == TkpGetCapture()) {
+ if (winPtr == (TkWindow *)TkpGetCapture()) {
TkpSetCapture(NULL);
}
}