Made turning the key repeat on and off for Linux based on the focus of the KCMS rather than its window