diff options
author | redman <redman> | 1999-03-10 19:29:24 (GMT) |
---|---|---|
committer | redman <redman> | 1999-03-10 19:29:24 (GMT) |
commit | 79af7a3035aee0515128033a6b0af599d1a29801 (patch) | |
tree | 3d1fd36e76f149caa4d65870b7aa310f6864d4a9 /win/tkWinPointer.c | |
parent | 824bd0f38f575bdd5a561fd96eb625748cf340f9 (diff) | |
download | tk-79af7a3035aee0515128033a6b0af599d1a29801.zip tk-79af7a3035aee0515128033a6b0af599d1a29801.tar.gz tk-79af7a3035aee0515128033a6b0af599d1a29801.tar.bz2 |
Backported "focus -force" patch from 8.1.
Diffstat (limited to 'win/tkWinPointer.c')
-rw-r--r-- | win/tkWinPointer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinPointer.c b/win/tkWinPointer.c index e9c94be..289ff4b 100644 --- a/win/tkWinPointer.c +++ b/win/tkWinPointer.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinPointer.c,v 1.4 1999/02/04 21:00:57 stanton Exp $ + * RCS: @(#) $Id: tkWinPointer.c,v 1.5 1999/03/10 19:29:24 redman Exp $ */ #include "tkWinInt.h" @@ -441,7 +441,7 @@ TkpChangeFocus(winPtr, force) */ if (force) { - SetForegroundWindow(Tk_GetHWND(winPtr->window)); + TkWinSetForegroundWindow(winPtr); } XSetInputFocus(dispPtr->display, winPtr->window, RevertToParent, CurrentTime); |