removed control mask handling for slock (quite useless in my eyes)
This commit is contained in:
parent
597d0f27f5
commit
dead0bb22e
11
slock.c
11
slock.c
|
@ -91,17 +91,6 @@ main(int argc, char **argv) {
|
||||||
|| IsMiscFunctionKey(ksym) || IsPFKey(ksym)
|
|| IsMiscFunctionKey(ksym) || IsPFKey(ksym)
|
||||||
|| IsPrivateKeypadKey(ksym))
|
|| IsPrivateKeypadKey(ksym))
|
||||||
continue;
|
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) {
|
switch(ksym) {
|
||||||
case XK_Return:
|
case XK_Return:
|
||||||
#if HAVE_SHADOW_H
|
#if HAVE_SHADOW_H
|
||||||
|
|
Loading…
Reference in New Issue
Block a user