all repos — tint2 @ 291be57cde3e2bddbcf3991e79d217bf99adb980

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

reset color after systray existing message

Currently all messages following the "another systray is running"
message are also printed in red. Fix this by reseting the color
at the end of the message.
Sebastian Reichel sre@ring0.de
commit

291be57cde3e2bddbcf3991e79d217bf99adb980

parent

84f9f6d0cd18a29d7f9169a83d85a69839868c19

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

jump to
M src/systray/systraybar.csrc/systray/systraybar.c

@@ -295,7 +295,7 @@

_NET_WM_PID = XInternAtom(server.dsp, "_NET_WM_PID", True); int ret = XGetWindowProperty(server.dsp, win, _NET_WM_PID, 0, 1024, False, AnyPropertyType, &actual_type, &actual_format, &nitems, &bytes_after, &prop); - fprintf(stderr, RED "tint2 : another systray is running"); + fprintf(stderr, RED "tint2 : another systray is running" RESET); if (ret == Success && prop) { pid = prop[1] * 256; pid += prop[0];