all repos — tint2 @ 88e1d56a98d09786704f977e2f943e1bcea851e8

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

Reorder some statements
o9000 mrovi9000@gmail.com
commit

88e1d56a98d09786704f977e2f943e1bcea851e8

parent

1ae20fa3eb42a69b4cbd8a73d85accac392000e0

1 files changed, 5 insertions(+), 2 deletions(-)

jump to
M src/tint.csrc/tint.c

@@ -326,13 +326,16 @@ }

} // Set signal handlers signal_pending = 0; + + struct sigaction sa_chld = {.sa_handler = SIG_DFL, .sa_flags = SA_NOCLDWAIT}; + sigaction(SIGCHLD, &sa_chld, 0); + struct sigaction sa = {.sa_handler = signal_handler}; - struct sigaction sa_chld = {.sa_handler = SIG_DFL, .sa_flags = SA_NOCLDWAIT}; sigaction(SIGUSR1, &sa, 0); sigaction(SIGINT, &sa, 0); sigaction(SIGTERM, &sa, 0); sigaction(SIGHUP, &sa, 0); - sigaction(SIGCHLD, &sa_chld, 0); + #ifdef BACKTRACE_ON_SIGNAL struct sigaction sa_crash = {.sa_handler = crash_handler}; sigaction(SIGSEGV, &sa_crash, 0);