Elide spurious ClientFocus events

This commit is contained in:
Kris Maglione 2007-02-08 22:28:32 -05:00
parent 25067751f7
commit 35dfbdef13
1 changed files with 2 additions and 1 deletions

View File

@ -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