all repos — tint2 @ 87e1ccc6bf997b8141008a1134a2229b41bb0cc6

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

Fix build on various architectures
o9000 mrovi9000@gmail.com
commit

87e1ccc6bf997b8141008a1134a2229b41bb0cc6

parent

aa355e22f9b47553a9f44d94c9f18362e4e0d1b3

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

jump to
M src/util/common.csrc/util/common.c

@@ -397,6 +397,7 @@ if (dir)

chdir(dir); close_all_fds(); if (terminal) { +#if !defined(__OpenBSD__) fprintf(stderr, "tint2: executing in x-terminal-emulator: %s\n", command); wordexp_t words; words.we_offs = 2;

@@ -405,6 +406,7 @@ words.we_wordv[0] = (char*)"x-terminal-emulator";

words.we_wordv[1] = (char*)"-e"; execvp("x-terminal-emulator", words.we_wordv); } +#endif fprintf(stderr, "tint2: could not execute command in x-terminal-emulator: %s, executting in shell\n", command); } execlp("sh", "sh", "-c", command, NULL);