all repos — tint2 @ 1ff3404e56b1aec1101a5d04cecb6df9247155ae

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

Update periodic testing scripts
o9000 mrovi9000@gmail.com
commit

1ff3404e56b1aec1101a5d04cecb6df9247155ae

parent

41190204b3ec039dc8ae3b2f5b3a0e9440c03d94

5 files changed, 6 insertions(+), 6 deletions(-)

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

@@ -79,7 +79,7 @@ free_and_null(button->backend->uwheel_command);

if (button->backend->instances) { fprintf(stderr, "tint2: Error: Attempt to destroy backend while there are still frontend instances!\n"); - exit(-1); + exit(EXIT_FAILURE); } free(button->backend); free(button);
M src/execplugin/execplugin.csrc/execplugin/execplugin.c

@@ -109,7 +109,7 @@ free_and_null(execp->backend->uwheel_command);

if (execp->backend->instances) { fprintf(stderr, "tint2: Error: Attempt to destroy backend while there are still frontend instances!\n"); - exit(-1); + exit(EXIT_FAILURE); } free(execp->backend); free(execp);
M src/init.csrc/init.c

@@ -75,7 +75,7 @@ error = TRUE;

} if (error) { print_usage(); - exit(1); + exit(EXIT_FAILURE); } } }

@@ -184,7 +184,7 @@ {

server.display = XOpenDisplay(NULL); if (!server.display) { fprintf(stderr, "tint2: could not open display!\n"); - exit(1); + exit(EXIT_FAILURE); } server.x11_fd = ConnectionNumber(server.display); XSetErrorHandler((XErrorHandler)server_catch_error);
M src/util/common.csrc/util/common.c

@@ -808,7 +808,7 @@ } else {

GdkPixbuf *pixbuf = rsvg_handle_get_pixbuf(svg); gdk_pixbuf_save(pixbuf, tmp_filename, "png", NULL, NULL); } - exit(0); + _exit(0); } else { // Parent close(fd);
M test/regression.pytest/regression.py

@@ -160,7 +160,7 @@ start_xsettings()

start_wm() sleep(1) os.environ["DEBUG_FPS"] = "1" - os.environ["ASAN_OPTIONS"] = "detect_leaks=1" + os.environ["ASAN_OPTIONS"] = "detect_leaks=1:exitcode=0" tint2 = run([tint2path, "-c", config], True) if tint2.poll() != None: raise RuntimeError("tint2 failed to start")