1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-25 13:55:34 -05:00

Use Xutf8LookupString

This commit is contained in:
Qball Cow 2014-02-25 22:54:44 +01:00
parent 5619c856f1
commit c2e25dc0c1

View file

@ -373,7 +373,7 @@ int textbox_keypress( textbox *tb, XEvent *ev )
if ( !( tb->flags & TB_EDITABLE ) ) return 0;
len = XmbLookupString( tb->xic, &ev->xkey, pad, sizeof( pad ), &key, &stat );
len = Xutf8LookupString( tb->xic, &ev->xkey, pad, sizeof( pad ), &key, &stat );
pad[len] = 0;
if ( key == XK_Left ) {