894b3ecc63
This adds single-symbol compose support using libxkbcommon's compose functionality. E.g., assuming you have the right alt key defined as your compose key, typing <RAlt>+i+' will produce í, and <RAlt>+y+= will produce ¥. This makes compose key work for weston-editor, weston-terminal, weston-eventdemo, and any other clients that use Weston's window.* routines for accepting and managing keyboard input. Compose sequences are loaded from the system's standard tables. As well, libxkbcommon will transparently load custom sequences from the user's ~/.XCompose file. Note that due to limitations in toytoolkit's key handler interface, only compose sequences resulting in single symbols are supported. While libxkbcommon supports multi-symbol compose strings, support for passing text buffers to Weston clients is left as future work. This largely obviates the need for the weston-simple-im input method client, which had provided a very limited compose functionality that was only available in clients implementing the zwp_input_method protocol, and with no mechanism to load system or user-specified compose keys. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=53648 Signed-off-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
||
---|---|---|
.. | ||
calibrator.c | ||
clickdot.c | ||
cliptest.c | ||
confine.c | ||
desktop-shell.c | ||
dnd.c | ||
editor.c | ||
eventdemo.c | ||
flower.c | ||
fullscreen.c | ||
gears.c | ||
image.c | ||
ivi-shell-user-interface.c | ||
keyboard.c | ||
multi-resource.c | ||
nested-client.c | ||
nested.c | ||
presentation-shm.c | ||
resizor.c | ||
scaler.c | ||
screenshot.c | ||
simple-damage.c | ||
simple-dmabuf-intel.c | ||
simple-dmabuf-v4l.c | ||
simple-egl.c | ||
simple-shm.c | ||
simple-touch.c | ||
smoke.c | ||
stacking.c | ||
subsurfaces.c | ||
terminal.c | ||
transformed.c | ||
weston-info.c | ||
weston-simple-im.c | ||
window.c | ||
window.h |