revert backspace change for now.
This commit is contained in:
parent
232ca6690d
commit
849787799c
3
slock.c
3
slock.c
@ -484,6 +484,7 @@ readpw(Display *dpy, const char *pws)
|
|||||||
len = 0;
|
len = 0;
|
||||||
break;
|
break;
|
||||||
case XK_Delete:
|
case XK_Delete:
|
||||||
|
case XK_BackSpace:
|
||||||
if(len)
|
if(len)
|
||||||
--len;
|
--len;
|
||||||
break;
|
break;
|
||||||
@ -504,7 +505,7 @@ readpw(Display *dpy, const char *pws)
|
|||||||
case XK_F11:
|
case XK_F11:
|
||||||
case XK_F12:
|
case XK_F12:
|
||||||
case XK_F13:
|
case XK_F13:
|
||||||
case XK_BackSpace:
|
// case XK_BackSpace:
|
||||||
// Disable alt+sysrq and crtl+alt+backspace
|
// Disable alt+sysrq and crtl+alt+backspace
|
||||||
disable_kill();
|
disable_kill();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user