slock-noxbell-0.1.diff - sites - public wiki contents of suckless.org
 (HTM) git clone git://git.suckless.org/sites
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
       slock-noxbell-0.1.diff (357B)
       ---
            1 diff -up a/slock.c b/slock.c
            2 --- a/slock.c        2022-10-04 19:45:59.000000000 +0200
            3 +++ b/slock.c        2024-01-27 22:36:28.398501798 +0100
            4 @@ -165,7 +165,6 @@ readpw(Display *dpy, struct xrandr *rr,
            5                                  else
            6                                          running = !!strcmp(inputhash, hash);
            7                                  if (running) {
            8 -                                        XBell(dpy, 100);
            9                                          failure = 1;
           10                                  }
           11                                  explicit_bzero(&passwd, sizeof(passwd));