diff options
author | Anselm R. Garbe <arg@10kloc.org> | 2006-10-12 09:44:02 +0200 |
---|---|---|
committer | Anselm R. Garbe <arg@10kloc.org> | 2006-10-12 09:44:02 +0200 |
commit | dead0bb22e45a85a79f19d1378d263613e00db9e (patch) | |
tree | be3aa010e7476a0f325a5e8aec9300818c3b8cd0 | |
parent | 597d0f27f53cf152edd1c230def4fd7983ac5919 (diff) |
removed control mask handling for slock (quite useless in my eyes)
-rw-r--r-- | slock.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -91,17 +91,6 @@ main(int argc, char **argv) { | |||
91 | || IsMiscFunctionKey(ksym) || IsPFKey(ksym) | 91 | || IsMiscFunctionKey(ksym) || IsPFKey(ksym) |
92 | || IsPrivateKeypadKey(ksym)) | 92 | || IsPrivateKeypadKey(ksym)) |
93 | continue; | 93 | continue; |
94 | /* first check if a control mask is omitted */ | ||
95 | if(ev.xkey.state & ControlMask) { | ||
96 | switch (ksym) { | ||
97 | case XK_h: | ||
98 | case XK_H: ksym = XK_BackSpace; | ||
99 | break; | ||
100 | case XK_u: | ||
101 | case XK_U: passwd[0] = 0; | ||
102 | continue; | ||
103 | } | ||
104 | } | ||
105 | switch(ksym) { | 94 | switch(ksym) { |
106 | case XK_Return: | 95 | case XK_Return: |
107 | #if HAVE_SHADOW_H | 96 | #if HAVE_SHADOW_H |