From e6759619576b2732828d60dba7bad2596ce430cd Mon Sep 17 00:00:00 2001 From: "Enno Boland (tox)" Date: Tue, 16 Feb 2010 19:56:22 +0100 Subject: focus fix for openbox (and maybe a few others) --- tabbed.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tabbed.c b/tabbed.c index c053a22..ac84a18 100644 --- a/tabbed.c +++ b/tabbed.c @@ -385,6 +385,8 @@ void focus(Client *c) { if(!clients) { XStoreName(dpy, win, "tabbed-"VERSION); + XRaiseWindow(dpy, win); + XSetInputFocus(dpy, win, RevertToPointerRoot, CurrentTime); return; } if(!c) -- cgit v1.2.3