better Input Method Editor (IME) support

Features:

- Allow input methods swap with hotkey (E.g. left ctrl + left shift).
- Over-the-spot pre-editing style, pre-edit data placed over insertion point.
- Restart IME without segmentation fault.

TODO:

- Automatically pickup IME if st started before IME
This commit is contained in:
Ivan Tham
2019-02-12 18:41:41 +01:00
committed by Hiltjo Posthuma
parent 75f92eb348
commit e85b6b6466
3 changed files with 54 additions and 17 deletions

1
win.h
View File

@ -36,3 +36,4 @@ void xsetmode(int, unsigned int);
void xsetpointermotion(int);
void xsetsel(char *);
int xstartdraw(void);
void xximspot(int, int);