home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
evbl0627.zip
/
everblue_20010627.zip
/
x11
/
Xlib_Focus.c
< prev
next >
Wrap
C/C++ Source or Header
|
1999-11-02
|
435b
|
17 lines
#include "Xlib_private.h"
int XGetInputFocus(Display *display, Window *focus_return, int *revert_to_return)
{
DBUG_ENTER("XGetInputFocus");
*focus_return = WinQueryFocus(HWND_DESKTOP);
*revert_to_return = RevertToNone;
DBUG_RETURN(True);
}
int XSetInputFocus(Display *display, Window focus, int revert_to, Time time)
{
DBUG_ENTER("XSetInputFocus");
WinSetFocus(HWND_DESKTOP, focus);
DBUG_RETURN(True);
}