summaryrefslogtreecommitdiffstats
path: root/tabbed.c
diff options
context:
space:
mode:
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)