mirror of
https://github.com/0intro/wmii
synced 2025-02-15 05:44:53 +03:00
Show that no client has focus when wmii grabs it.
This commit is contained in:
parent
38dbe10856
commit
7fd74403fc
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user