From 2f1627e07fafece01ebf59436ad5f9856e03ad21 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Wed, 2 Dec 2020 09:21:27 +0100 Subject: [PATCH] update slsatuts --- config.h/slstatus/sigusr.patch | 30 ------------------------------ config.h/slstatus/slstatus | 2 +- 2 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 config.h/slstatus/sigusr.patch diff --git a/config.h/slstatus/sigusr.patch b/config.h/slstatus/sigusr.patch deleted file mode 100644 index 410cf57..0000000 --- a/config.h/slstatus/sigusr.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- - slstatus.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/slstatus.c b/slstatus.c -index 96fa5b6..499cd30 100644 ---- a/slstatus.c -+++ b/slstatus.c -@@ -26,9 +26,8 @@ static Display *dpy; - static void - terminate(const int signo) - { -- (void)signo; -- -- done = 1; -+ if (signo != SIGUSR1) -+ done = 1; - } - - static void -@@ -72,6 +71,7 @@ main(int argc, char *argv[]) - act.sa_handler = terminate; - sigaction(SIGINT, &act, NULL); - sigaction(SIGTERM, &act, NULL); -+ sigaction(SIGUSR1, &act, NULL); - - if (!sflag && !(dpy = XOpenDisplay(NULL))) { - die("XOpenDisplay: Failed to open display"); --- -2.20.1 diff --git a/config.h/slstatus/slstatus b/config.h/slstatus/slstatus index b14e039..84a2f11 160000 --- a/config.h/slstatus/slstatus +++ b/config.h/slstatus/slstatus @@ -1 +1 @@ -Subproject commit b14e039639ed28005fbb8bddeb5b5fa0c93475ac +Subproject commit 84a2f117a32f0796045941260cdc4b69852b41e0 -- 2.20.1