diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-07 04:30:52 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-07 04:30:52 (GMT) |
commit | e05c1d71ec11cc892731a999a9d521781ea8567e (patch) | |
tree | 9e4ba40f867e41451c5cf5bc10bd1871191d2cad /win/tkWinPointer.c | |
parent | e35d614587b25a1a03ededdf2d04bcbfca86be70 (diff) | |
parent | 0f3a2fcdd9d1f4c2d5659ae50ce1a5cba322f62c (diff) | |
download | tk-e05c1d71ec11cc892731a999a9d521781ea8567e.zip tk-e05c1d71ec11cc892731a999a9d521781ea8567e.tar.gz tk-e05c1d71ec11cc892731a999a9d521781ea8567e.tar.bz2 |
Change XChangeWindowAttributes signature and many others to match Xorg, needed for Cygwin
Diffstat (limited to 'win/tkWinPointer.c')
-rw-r--r-- | win/tkWinPointer.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/win/tkWinPointer.c b/win/tkWinPointer.c index 42e6e49..bac6e18 100644 --- a/win/tkWinPointer.c +++ b/win/tkWinPointer.c @@ -195,12 +195,13 @@ XGrabKeyboard(display, grab_window, owner_events, pointer_mode, *---------------------------------------------------------------------- */ -void +int XUngrabKeyboard(display, time) Display* display; Time time; { keyboardWinPtr = NULL; + return Success; } /* @@ -383,7 +384,7 @@ XWarpPointer(display, src_w, dest_w, src_x, src_y, src_width, *---------------------------------------------------------------------- */ -void +int XGetInputFocus(display, focus_return, revert_to_return) Display *display; Window *focus_return; @@ -393,6 +394,7 @@ XGetInputFocus(display, focus_return, revert_to_return) *focus_return = tkwin ? Tk_WindowId(tkwin) : None; *revert_to_return = RevertToParent; display->request++; + return Success; } /* @@ -412,7 +414,7 @@ XGetInputFocus(display, focus_return, revert_to_return) *---------------------------------------------------------------------- */ -void +int XSetInputFocus(display, focus, revert_to, time) Display* display; Window focus; @@ -423,6 +425,7 @@ XSetInputFocus(display, focus, revert_to, time) if (focus != None) { SetFocus(Tk_GetHWND(focus)); } + return Success; } /* |