~ob/slock

dead0bb22e45a85a79f19d1378d263613e00db9e — Anselm R. Garbe 14 years ago 597d0f2 0.1
removed control mask handling for slock (quite useless in my eyes)
1 files changed, 0 insertions(+), 11 deletions(-)

M slock.c
M slock.c => slock.c +0 -11
@@ 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