This commit is contained in:
linkmauve 2017-08-12 19:32:38 +00:00 committed by GitHub
commit 623f99c663

View File

@ -294,7 +294,7 @@ static int toGLFWKeyCode(uint32_t key)
static xkb_keysym_t composeSymbol(xkb_keysym_t sym) static xkb_keysym_t composeSymbol(xkb_keysym_t sym)
{ {
if (sym == XKB_KEY_NoSymbol) if (sym == XKB_KEY_NoSymbol || !_glfw.wl.xkb.composeState)
return sym; return sym;
if (xkb_compose_state_feed(_glfw.wl.xkb.composeState, sym) if (xkb_compose_state_feed(_glfw.wl.xkb.composeState, sym)
!= XKB_COMPOSE_FEED_ACCEPTED) != XKB_COMPOSE_FEED_ACCEPTED)