1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-28 09:22:27 +01:00

added preliminary X Input Methods support

This commit is contained in:
dan
2004-10-28 04:17:18 +00:00
parent 79864ba94c
commit ca61675597
11 changed files with 245 additions and 46 deletions

View File

@@ -385,6 +385,7 @@ typedef struct W_View {
WMPixmap *dragImage;
int helpContext;
XIC xic;
struct {
unsigned int realized:1;
@@ -612,6 +613,22 @@ void W_DragDestinationInfoClear(WMDraggingInfo *info);
void W_FreeViewXdndPart(WMView *view);
/* XIM */
void W_InitIM(WMScreen *scr);
void W_CreateIC(WMView *view);
void W_DestroyIC(WMView *view);
void W_FocusIC(WMView *view);
void W_UnFocusIC(WMView *view);
void W_SetPreeditPositon(W_View *view, int x, int y);
int W_LookupString(W_View *view, XKeyPressedEvent *event, char *buffer,
int buflen, KeySym *keysym, Status *status);
#ifdef __cplusplus
}
#endif /* __cplusplus */