From 8b63e1219b7130f978f1dc2ef72f9e68720bbf5a Mon Sep 17 00:00:00 2001 From: "Enno Boland (tox)" Date: Mon, 26 Apr 2010 22:30:27 +0200 Subject: removing XSetInputFocus() calls to be ICCCM compliant again. Thanks to Thomas Adam --- tabbed.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tabbed.c b/tabbed.c index 9698f12..048ab37 100644 --- 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)); -- cgit v1.2.3