commit e6759619576b2732828d60dba7bad2596ce430cd
parent 13e3aca1cbc322308729d2e6644a420daf811c93
Author: Enno Boland (tox) <[email protected]>
Date: Tue, 16 Feb 2010 19:56:22 +0100
focus fix for openbox (and maybe a few others)
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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)