mirror of https://github.com/0intro/wmii
Set keyboard focus to the bar instead of the root when no window is in focus
This commit is contained in:
parent
4f488d8adc
commit
28a80838ef
2
area.c
2
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);
|
||||
|
|
Loading…
Reference in New Issue