Introduction
Introduction Statistics Contact Development Disclaimer Help
removed control mask handling for slock (quite useless in my eyes) - slock - si…
git clone git://git.suckless.org/slock
Log
Files
Refs
README
LICENSE
---
commit dead0bb22e45a85a79f19d1378d263613e00db9e
parent 597d0f27f53cf152edd1c230def4fd7983ac5919
Author: Anselm R. Garbe <[email protected]>
Date: Thu, 12 Oct 2006 09:44:02 +0200
removed control mask handling for slock (quite useless in my eyes)
Diffstat:
M slock.c | 11 -----------
1 file changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/slock.c b/slock.c
@@ -91,17 +91,6 @@ main(int argc, char **argv) {
|| IsMiscFunctionKey(ksym) || IsPFKey(…
|| 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
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.