From e6759619576b2732828d60dba7bad2596ce430cd Mon Sep 17 00:00:00 2001 From: "Enno Boland (tox)" Date: Tue, 16 Feb 2010 19:56:22 +0100 Subject: [PATCH] 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 c053a2233be9b45dbde82e9ee7ac110e70bb2796..ac84a18bfcb7105b3d7c944b0fbf2de2a5039b7a 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)