]> git.sur5r.net Git - i3/i3lock/commit
revert shift lock handling (broke uppercase letters)
authorMichael Stapelberg <michael@stapelberg.de>
Wed, 30 May 2012 14:08:12 +0000 (16:08 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 30 May 2012 14:08:12 +0000 (16:08 +0200)
commitdd02dff44a582fe95d2d4662a7ca537d6adebffb
tree7320254cd4e9786b91abfd44ef47551b7725f593
parent9b29ae7afd3f3827c107fb441ebcbbf73a1c1ced
revert shift lock handling (broke uppercase letters)

With some layouts, this broke uppercase letters in your passwords.

I think that explicit shiftlock handling is unnecessary. X11 seems to do
it on its own. Here is what leads me to that conclusion:

  $ setxkbmap de
  $ xmodmap -e 'keycode 66 = Shift_Lock'
  $ xev

Now enter a character, say "a", then press CapsLk (which is now
Shift_Lock), then press "a" again. The event state is 0x1, thereby
undistinguishable from normal shift.
i3lock.c