mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-20 22:14:19 +01:00
reverted the last test commit (duh)
This commit is contained in:
@@ -22,8 +22,7 @@ typedef struct W_ICContext {
|
||||
|
||||
|
||||
|
||||
Bool
|
||||
W_InitIMStuff(WMScreen *scr)
|
||||
Bool W_InitIMStuff(WMScreen *scr)
|
||||
{
|
||||
WMIMContext *ctx;
|
||||
|
||||
@@ -39,8 +38,7 @@ W_InitIMStuff(WMScreen *scr)
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
W_CloseIMStuff(WMScreen *scr)
|
||||
void W_CloseIMStuff(WMScreen *scr)
|
||||
{
|
||||
if (!scr->imctx)
|
||||
return;
|
||||
@@ -53,8 +51,7 @@ W_CloseIMStuff(WMScreen *scr)
|
||||
|
||||
|
||||
|
||||
WMICContext*
|
||||
W_CreateIC(WMView *view)
|
||||
WMICContext *W_CreateIC(WMView *view)
|
||||
{
|
||||
WMScreen *scr = W_VIEW_SCREEN(view);
|
||||
WMICContext *ctx;
|
||||
@@ -63,12 +60,11 @@ W_CreateIC(WMView *view)
|
||||
ctx->next = scr->imctx->icList;
|
||||
if (scr->imctx->icList)
|
||||
scr->imctx->icList->prev = ctx;
|
||||
//scr->imctx = ctx;
|
||||
scr->imctx = ctx;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
W_DestroyIC(WMICContext *ctx)
|
||||
void W_DestroyIC(WMICContext *ctx)
|
||||
{
|
||||
XDestroyIC(ctx->xic);
|
||||
|
||||
@@ -76,9 +72,8 @@ W_DestroyIC(WMICContext *ctx)
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
W_LookupString(WMView *view, XKeyEvent *event,
|
||||
char buffer, int bufsize, KeySym ksym)
|
||||
int W_LookupString(WMView *view, XKeyEvent *event,
|
||||
char buffer, int bufsize, KeySym ksym)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user