Set keyboard focus to the bar instead of the root when no window is in focus

This commit is contained in:
Kris Maglione 2007-02-12 14:05:45 -05:00
parent 4f488d8adc
commit 28a80838ef
1 changed files with 1 additions and 1 deletions

2
area.c
View File

@ -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);