xkb seems to miss some release events so ulubis's xkb_state has mods pressed several times and xkb docs state that keys need to be released as many times as they are pressed. The workaround is to track pressed keys in ulubis too and don't update xkb state when the same key is pressed twice.
xkb seems to miss some release events so ulubis's xkb_state has mods pressed several times and xkb docs state that keys need to be released as many times as they are pressed. The workaround is to track pressed keys in ulubis too and don't update xkb state when the same key is pressed twice.