commit 28a80838ef9c915fd22d671e299aa80aef85de99
parent 4f488d8adcc9b3b46038b0657fee9a4c7827046b
Author: Kris Maglione <jg@suckless.org>
Date: Mon, 12 Feb 2007 14:05:45 -0500
Set keyboard focus to the bar instead of the root when no window is in focus
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/area.c b/area.c
@@ -336,7 +336,7 @@ focus_area(Area *a) {
draw_frame(f);
XSetInputFocus(blz.dpy, f->client->win, RevertToPointerRoot, CurrentTime);
}else
- XSetInputFocus(blz.dpy, blz.root, RevertToPointerRoot, CurrentTime);
+ XSetInputFocus(blz.dpy, screen->barwin, RevertToPointerRoot, CurrentTime);
if(old_a && old_a->sel)
draw_frame(old_a->sel);