diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-07-11 12:31:54 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-07-11 12:31:54 +0400 |
commit | 35b6f41f4651992bc6a1726fc3d123f7bc54d32d (patch) | |
tree | 2cb3cd97ce3489af60aabf86982fd4fbba698ffc /intern/ghost/intern/GHOST_SystemX11.h | |
parent | 4e213765ecd2d05251ead548b01a55b9f00d0ec0 (diff) |
patch [#30274] XIM improvement (non-latin support + connection recovery)
from Shinsuke Irie (irie)
(from the tracker submission)
- allow us to input non-latin languages such as Japanese/Chinese
- recover XIM connection and its input contexts when XIM server restarted
Currently it supports only "root window" style input, while most people (and I) want "over the spot" or "on the spot" style one. Probably the implementation of "over the spot" or "on the spot" style becomes much complicated, because XIM server requires the coordinates of current cursor location relative to the screen in order to show the candidate window in appropriate position.
Diffstat (limited to 'intern/ghost/intern/GHOST_SystemX11.h')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemX11.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_SystemX11.h b/intern/ghost/intern/GHOST_SystemX11.h index fd5a33c02d7..d86790e262f 100644 --- a/intern/ghost/intern/GHOST_SystemX11.h +++ b/intern/ghost/intern/GHOST_SystemX11.h @@ -309,6 +309,10 @@ private: * X11 window xwind */ +#if defined(WITH_X11_XINPUT) && defined(X_HAVE_UTF8_STRING) + bool openX11_IM(); +#endif + GHOST_WindowX11 * findGhostWindow( Window xwind |