add: GCFunction|GCLineWidth),
context: wTextCreate( WCoreWindow *core, int x, int y, int width, int height )  {  WTextInput *wtext;  ENTER("wTextCreate");  wtext = wmalloc(sizeof(WTextInput));  wtext->core = wCoreCreate( core, x, y, width, height );  wtext->core->descriptor.handle_anything = &textEventHandler;   wtext->core->descriptor.handle_expose = &handleExpose;       wtext->core->descriptor.parent_type = WCLASS_TEXT_INPUT;  wtext->core->descriptor.parent = wtext;  wtext->font = core->screen_ptr->menu_entry_font;  XDefineCursor( dpy, wtext->core->window, wCursor[WCUR_TEXT] );  /* setup the text: */  wtext->text.txt      = (char *)wmalloc(sizeof(char));  wtext->text.txt[0]   = '\0';  wtext->text.length   = 0;  wtext->text.startPos = 0;  wtext->text.endPos   = 0;    {    XGCValues gcv;    gcv.foreground = core->screen_ptr->black_pixel;    gcv.background = core->screen_ptr->white_pixel;#ifndef I18N_MB    gcv.font       = wtext->font->font->fid;#endif    gcv.line_width = 1;    gcv.function   = GXcopy;    wtext->gc = XCreateGC( dpy, wtext->core->window,                           (GCForeground|GCBackground|#ifndef I18N_MB                            GCFont|#endif                            GCFunction|GCLineWidth),                           &gcv );    /* set up the regular context */    gcv.foreground = core->screen_ptr->black_pixel;    gcv.background = core->screen_ptr->white_pixel;#ifndef I18N_MB    gcv.font       = wtext->font->font->fid;#endif    gcv.line_width = 1;    gcv.function   = GXcopy;    wtext->regGC = XCreateGC( dpy, wtext->core->window,                              (GCForeground|GCBackground|#ifndef I18N_MB                               GCFont|#endif                               GCFunction|GCLineWidth),                              &gcv );    /* set up the inverted context */    gcv.function   = GXcopyInverted;    wtext->invGC = XCreateGC( dpy, wtext->core->window,                              (GCForeground|GCBackground|#ifndef I18N_MB                               GCFont|#endif                               GCFunction|GCLineWidth),                              &gcv );    /* and set the background! */    XSetWindowBackground( dpy, wtext->core->window, gcv.background );    }    /* Figure out the y-offset... */  wtext->yOffset = (height - wtext->font->height)/2;  wtext->xOffset = wtext->yOffset;  wtext->canceled     = False;  wtext->done         = False;     /* becomes True when the user    *                                  * hits "Return" key             */  XMapRaised(dpy, wtext->core->window);	       LEAVE("wTextCreate");    return wtext;  }