diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-07 08:08:30 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-07 08:08:30 (GMT) |
commit | edb4cc7ce4e75ee2bd46f965f0724c54c134a1fd (patch) | |
tree | 7981088cb257579d4bcf74b7735557ca697528c7 /win/tkWinPointer.c | |
parent | 30a0f07209b1340b0060d238a1ec0bd3365f5692 (diff) | |
parent | e05c1d71ec11cc892731a999a9d521781ea8567e (diff) | |
download | tk-edb4cc7ce4e75ee2bd46f965f0724c54c134a1fd.zip tk-edb4cc7ce4e75ee2bd46f965f0724c54c134a1fd.tar.gz tk-edb4cc7ce4e75ee2bd46f965f0724c54c134a1fd.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 0136d36..7aec2b4 100644 --- a/win/tkWinPointer.c +++ b/win/tkWinPointer.c @@ -193,12 +193,13 @@ XGrabKeyboard( *---------------------------------------------------------------------- */ -void +int XUngrabKeyboard( Display *display, Time time) { keyboardWinPtr = NULL; + return Success; } /* @@ -377,7 +378,7 @@ XWarpPointer( *---------------------------------------------------------------------- */ -void +int XGetInputFocus( Display *display, Window *focus_return, @@ -388,6 +389,7 @@ XGetInputFocus( *focus_return = tkwin ? Tk_WindowId(tkwin) : None; *revert_to_return = RevertToParent; display->request++; + return Success; } /* @@ -407,7 +409,7 @@ XGetInputFocus( *---------------------------------------------------------------------- */ -void +int XSetInputFocus( Display *display, Window focus, @@ -418,6 +420,7 @@ XSetInputFocus( if (focus != None) { SetFocus(Tk_GetHWND(focus)); } + return Success; } /* |