malcolmstill / ulubis

A Wayland compositor written in Common Lisp
BSD 3-Clause "New" or "Revised" License
239 stars 19 forks source link

Sticky mods when switching desktops under wmii #26

Closed naryl closed 7 years ago

naryl commented 7 years ago

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.