all repos — tint2 @ 2f372364f0bbe0af73ff8d61f04dcc7556222c6b

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

disable glib slice allocator
Chris Lee @klee93
commit

2f372364f0bbe0af73ff8d61f04dcc7556222c6b

parent

a83e057414d2f1ebf3fec46b5d4fb8d798c43d61

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

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

@@ -797,6 +797,13 @@ }

int main(int argc, char **argv) { + if (!getenv("G_SLICE") && setenv("G_SLICE", "always-malloc", 1) == 0) { + fprintf(stderr, + YELLOW "tint2: reexecuting tint2 without glib slice allocator..." RESET "\n"); + execvp(argv[0], argv); + fprintf(stderr, RED "tint2: %s %d: execvp failed! carrying on..." RESET "\n", + __FILE__, __LINE__); + } gboolean restart; do { restart = FALSE;