changeset: 2130:53f710aedb4d
user: Kris Maglione <jg_AT_suckless.org>
date: Wed Apr 25 17:37:33 2007 -0400
summary: Show that no client has focus when wmii grabs it.
diff -r 9facd84d13be -r 53f710aedb4d cmd/wmii/event.c
--- a/cmd/wmii/event.c Wed Apr 25 15:54:44 2007 -0400
+++ b/cmd/wmii/event.c Wed Apr 25 17:37:33 2007 -0400
@@ -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;
}
Received on Fri Jun 01 2007 - 03:10:25 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:57:06 UTC