diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-05 13:12:04 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-05 13:12:04 (GMT) |
commit | d3588d07e0741521ab5fe2c48283060cca5d469e (patch) | |
tree | e941d8cac470415eab1469160234f7ec7dd217a9 /win/tkWinPointer.c | |
parent | 7406c9a8caef9c12648532a2e1cdb85f5d3cee25 (diff) | |
parent | 4d934afdaa794c2cb190a8f1b5712069e12b9750 (diff) | |
download | tk-d3588d07e0741521ab5fe2c48283060cca5d469e.zip tk-d3588d07e0741521ab5fe2c48283060cca5d469e.tar.gz tk-d3588d07e0741521ab5fe2c48283060cca5d469e.tar.bz2 |
merge core-8-4-branch
Diffstat (limited to 'win/tkWinPointer.c')
-rw-r--r-- | win/tkWinPointer.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/win/tkWinPointer.c b/win/tkWinPointer.c index de812ba..bac6e18 100644 --- a/win/tkWinPointer.c +++ b/win/tkWinPointer.c @@ -1,4 +1,4 @@ -/* +/* * tkWinPointer.c -- * * Windows specific mouse tracking code. @@ -201,7 +201,7 @@ XUngrabKeyboard(display, time) Time time; { keyboardWinPtr = NULL; - return 0; + return Success; } /* @@ -209,7 +209,7 @@ XUngrabKeyboard(display, time) * * MouseTimerProc -- * - * Check the current mouse position and look for enter/leave + * Check the current mouse position and look for enter/leave * events. * * Results: @@ -365,7 +365,7 @@ XWarpPointer(display, src_w, dest_w, src_x, src_y, src_width, GetWindowRect(Tk_GetHWND(dest_w), &r); SetCursorPos(r.left+dest_x, r.top+dest_y); - return 0; + return Success; } /* @@ -394,7 +394,7 @@ XGetInputFocus(display, focus_return, revert_to_return) *focus_return = tkwin ? Tk_WindowId(tkwin) : None; *revert_to_return = RevertToParent; display->request++; - return 0; + return Success; } /* @@ -425,7 +425,7 @@ XSetInputFocus(display, focus, revert_to, time) if (focus != None) { SetFocus(Tk_GetHWND(focus)); } - return 0; + return Success; } /* @@ -473,7 +473,7 @@ TkpChangeFocus(winPtr, force) if (winPtr->window == None) { panic("ChangeXFocus got null X window"); } - + /* * Change the foreground window so the focus window is raised to the top of * the system stacking order and gets the keyboard focus. @@ -505,7 +505,7 @@ TkpChangeFocus(winPtr, force) * This function captures the mouse so that all future events * will be reported to this window, even if the mouse is outside * the window. If the specified window is NULL, then the mouse - * is released. + * is released. * * Results: * None. |