summaryrefslogtreecommitdiffstats
path: root/tabbed.c
diff options
context:
space:
mode:
authorEnno Boland (tox) <tox@s01.de>2010-02-16 19:56:22 +0100
committerEnno Boland (tox) <tox@s01.de>2010-02-16 19:56:22 +0100
commite6759619576b2732828d60dba7bad2596ce430cd (patch)
tree5b1e9469e504380b212d8c7e7a2d7772360e0bcd /tabbed.c
parent13e3aca1cbc322308729d2e6644a420daf811c93 (diff)
downloadtabbed-e6759619576b2732828d60dba7bad2596ce430cd.tar.gz
focus fix for openbox (and maybe a few others)
Diffstat (limited to 'tabbed.c')
-rw-r--r--tabbed.c2
1 files changed, 2 insertions, 0 deletions
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)