tabbed

tab interface for application supporting Xembed
git clone git://git.suckless.org/tabbed
Log | Files | Refs | README | LICENSE

commit b59df271274ea60ebb5ed4046263999ec6cdec73
parent 4eba47b048a22f4166836c6c2e233f9712930ec5
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri, 13 Nov 2026 12:37:34 +0100

xsetpid: add a comment about the long type for getpid()

It might be mistaken as a bug instead of pid_t pid = getpid();

Diffstat:
Mtabbed.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/tabbed.c b/tabbed.c @@ -1288,6 +1288,7 @@ xsettitle(Window w, const char *str) void xsetpid(void) { + /* XChangeProperty expects 32 bit CARDINALS of type long */ long pid = getpid(); XChangeProperty(dpy, win, wmatom[WMPid], XA_CARDINAL, 32, PropModeReplace, (unsigned char *)&pid, 1);