From: Martin H. <hor...@Fr...> - 2002-12-02 14:10:01
|
MINAMI Hirokazu (2002-12-02 22:41 +0900): > Would you apply following patch and seewhat happens when a dead key is > pressed under the configuration? > --- x_xic.c 14 May 2002 12:05:27 -0000 1.1 > +++ x_xic.c 2 Dec 2002 13:19:23 -0000 > @@ -482,6 +482,16 @@ > > if( ( len = XmbLookupString( win->xic->ic , event , seq , seq_len , keysym , &stat)) == 0) > { > + switch( stat){ > + case XLookupNone : > + kik_debug_printf( KIK_DEBUG_TAG "XLookupNone\n"); > + break; > + case XLookupKeySym: > + kik_debug_printf( KIK_DEBUG_TAG "XLookupKeysym: %s\n", XKeysymToString(*keysym) ); > + break; > + default: > + kik_debug_printf( KIK_DEBUG_TAG "this shouldn't happen\n"); > + } > return 0 ; > } It writes e.g.: DEBUG: [x_xic_get_str()]XLookupKeysym: dead_acute DEBUG: [x_xic_get_str()]XLookupKeysym: Shift_L DEBUG: [x_xic_get_str()]XLookupKeysym: dead_caron Martin |