changeset: 1796:69adb479128b
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Thu Feb 08 22:28:32 2007 -0500
summary: Elide spurious ClientFocus events
diff -r c291e2f478c5 -r 69adb479128b client.c
--- a/client.c Thu Feb 08 21:50:49 2007 -0500
+++ b/client.c Thu Feb 08 22:28:32 2007 -0500
@@ -170,7 +170,8 @@ focus_client(Client *c, Bool restack) {
else
write_event("FocusFloating\n");
}
- write_event("ClientFocus 0x%x\n", c->win);
+ if(c != old)
+ write_event("ClientFocus 0x%x\n", c->win);
}
void
Received on Fri Feb 09 2007 - 04:30:35 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:02 UTC