mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-25 13:55:34 -05:00
Use Xutf8LookupString
This commit is contained in:
parent
5619c856f1
commit
c2e25dc0c1
1 changed files with 1 additions and 1 deletions
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue