mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-02 14:15:46 +01:00
added preliminary X Input Methods support
This commit is contained in:
@@ -631,9 +631,6 @@ WMCreateScreenWithRContext(Display *display, int screen, RContext *context)
|
||||
scrPtr->xftdraw = XftDrawCreate(scrPtr->display, W_DRAWABLE(scrPtr),
|
||||
scrPtr->visual, scrPtr->colormap);
|
||||
|
||||
/* create input method stuff */
|
||||
W_InitIMStuff(scrPtr);
|
||||
|
||||
/* Create missing CUT_BUFFERs */
|
||||
{
|
||||
Atom *rootWinProps;
|
||||
@@ -773,6 +770,9 @@ WMCreateScreenWithRContext(Display *display, int screen, RContext *context)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* create input method stuff */
|
||||
W_InitIM(scrPtr);
|
||||
|
||||
scrPtr->checkButtonImageOn = makePixmap(scrPtr, CHECK_BUTTON_ON,
|
||||
CHECK_BUTTON_ON_WIDTH,
|
||||
CHECK_BUTTON_ON_HEIGHT, False);
|
||||
|
||||
Reference in New Issue
Block a user