Show that no client has focus when wmii grabs it.

This commit is contained in:
Kris Maglione 2007-04-25 17:37:33 -04:00
parent 38dbe10856
commit 7fd74403fc

View File

@ -172,7 +172,11 @@ focusin(XEvent *e) {
if(ev->window == scr.root.w)
if(XCheckMaskEvent(display, KeyPressMask, &me)) {
/* wmii has grabbed focus */
c = screen->focus;
screen->hasgrab = &c_root;
screen->focus = &c_magic;
if(c)
draw_frame(c->sel);
dispatch_event(&me);
return;
}