summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-10-12 09:44:02 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-10-12 09:44:02 +0200
commitdead0bb22e45a85a79f19d1378d263613e00db9e (patch)
treebe3aa010e7476a0f325a5e8aec9300818c3b8cd0
parent597d0f27f53cf152edd1c230def4fd7983ac5919 (diff)
downloadslock-dead0bb22e45a85a79f19d1378d263613e00db9e.tar.gz
slock-dead0bb22e45a85a79f19d1378d263613e00db9e.tar.xz
removed control mask handling for slock (quite useless in my eyes)0.1
-rw-r--r--slock.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/slock.c b/slock.c
index 12c991f..0f4c3cc 100644
--- a/slock.c
+++ b/slock.c
@@ -91,17 +91,6 @@ main(int argc, char **argv) {
|| IsMiscFunctionKey(ksym) || IsPFKey(ksym)
|| IsPrivateKeypadKey(ksym))
continue;
- /* first check if a control mask is omitted */
- if(ev.xkey.state & ControlMask) {
- switch (ksym) {
- case XK_h:
- case XK_H: ksym = XK_BackSpace;
- break;
- case XK_u:
- case XK_U: passwd[0] = 0;
- continue;
- }
- }
switch(ksym) {
case XK_Return:
#if HAVE_SHADOW_H