From 28a80838ef9c915fd22d671e299aa80aef85de99 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Mon, 12 Feb 2007 14:05:45 -0500 Subject: [PATCH] Set keyboard focus to the bar instead of the root when no window is in focus --- area.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/area.c b/area.c index bcf1781d..30150888 100644 --- 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);