tabbed

Simple tabbing application for X11.
git clone git://r-36.net/tabbed
Log | Files | Refs | README | LICENSE

commit 8b63e1219b7130f978f1dc2ef72f9e68720bbf5a
parent 1eab77f33b030716419ac128a305aac4989be6e7
Author: Enno Boland (tox) <tox@s01.de>
Date:   Mon, 26 Apr 2010 22:30:27 +0200

removing XSetInputFocus() calls to be ICCCM compliant again. Thanks to Thomas Adam
Diffstat:
tabbed.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tabbed.c b/tabbed.c @@ -387,12 +387,10 @@ focus(Client *c) { if(!c && !(c = sel ? sel : clients)) { XStoreName(dpy, win, "tabbed-"VERSION); XRaiseWindow(dpy, win); - XSetInputFocus(dpy, win, RevertToPointerRoot, CurrentTime); return; } resize(c, ww, wh - bh); XRaiseWindow(dpy, c->win); - XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime); sendxembed(c, XEMBED_FOCUS_IN, XEMBED_FOCUS_CURRENT, 0, 0); sendxembed(c, XEMBED_WINDOW_ACTIVATE, 0, 0, 0); XStoreName(dpy, win, c->name); @@ -759,6 +757,7 @@ sigchld(int unused) { void spawn(const Arg *arg) { + puts("aaaa"); if(fork() == 0) { if(dpy) close(ConnectionNumber(dpy));