24 |
* \file win.c |
* \file win.c |
25 |
*. |
*. |
26 |
* This file is part of the XForms library package. |
* This file is part of the XForms library package. |
27 |
* Copyright (c) 1996-2002 T.C. Zhao |
* Copyright (c) 1996-2002 T.C. Zhao |
28 |
* All rights reserved. |
* All rights reserved. |
29 |
*. |
*. |
30 |
* |
* |
78 |
/* VisibilityChangeMask| PropertyChangeMask | */ |
/* VisibilityChangeMask| PropertyChangeMask | */ |
79 |
StructureNotifyMask); |
StructureNotifyMask); |
80 |
|
|
81 |
|
|
82 |
/* for input method */ |
/* for input method */ |
83 |
if(fl_context->xic) |
if(fl_context->xic) |
84 |
st_xswa.event_mask |= FocusChangeMask; |
st_xswa.event_mask |= FocusChangeMask; |
952 |
XSetInputFocus(flx->display, win, RevertToParent, CurrentTime); |
XSetInputFocus(flx->display, win, RevertToParent, CurrentTime); |
953 |
#if 0 |
#if 0 |
954 |
if (fl_context->xic) |
if (fl_context->xic) |
955 |
XSetICValues(fl_context->xic, |
XSetICValues(fl_context->xic, |
956 |
XNClientWindow, win, XNFocusWindow, win, 0); |
XNClientWindow, win, XNFocusWindow, win, 0); |
957 |
#endif |
#endif |
958 |
} |
} |