diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-01 22:29:19 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-01 22:29:19 (GMT) |
commit | e35d614587b25a1a03ededdf2d04bcbfca86be70 (patch) | |
tree | 5bc13e4395b89309cb5eb55ee6a0b1d763975de7 /generic/tkPointer.c | |
parent | c985425b2f03e2e14bf3f7ee9884cd74c184373e (diff) | |
download | tk-e35d614587b25a1a03ededdf2d04bcbfca86be70.zip tk-e35d614587b25a1a03ededdf2d04bcbfca86be70.tar.gz tk-e35d614587b25a1a03ededdf2d04bcbfca86be70.tar.bz2 |
Change XSetDashes signature and many others to match Xorg, needed for Cygwin.
Add .PHONY targets, and various quoting issues (Makefile.in)
Diffstat (limited to 'generic/tkPointer.c')
-rw-r--r-- | generic/tkPointer.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/generic/tkPointer.c b/generic/tkPointer.c index 17c7424..949dcee 100644 --- a/generic/tkPointer.c +++ b/generic/tkPointer.c @@ -475,7 +475,7 @@ XGrabPointer(display, grab_window, owner_events, event_mask, pointer_mode, *---------------------------------------------------------------------- */ -void +int XUngrabPointer(display, time) Display* display; Time time; @@ -488,6 +488,7 @@ XUngrabPointer(display, time) tsdPtr->restrictWinPtr = NULL; TkpSetCapture(NULL); UpdateCursor(tsdPtr->lastWinPtr); + return Success; } /* @@ -590,7 +591,7 @@ UpdateCursor(winPtr) *---------------------------------------------------------------------- */ -void +int XDefineCursor(display, w, cursor) Display* display; Window w; @@ -604,6 +605,7 @@ XDefineCursor(display, w, cursor) UpdateCursor(winPtr); } display->request++; + return Success; } /* |