update comment

This commit is contained in:
Dana Jansens 2003-02-04 11:15:08 +00:00
parent dddac55480
commit 76525992cd

View file

@ -361,9 +361,8 @@ Client *Openbox::findClient(Window window)
void Openbox::setFocusedClient(Client *c) void Openbox::setFocusedClient(Client *c)
{ {
// sometimes this is called with the already-focused window, this is // sometimes this is called with the already-focused window, this is
// important for the python scripts to work (eg, c = 0 twice, or for the // important for the python scripts to work (eg, c = 0 twice). don't just
// cycling list, it relies on this behavior. don't just return if its already // return if _focused_client == c
// set as focused
assert(_focused_screen); assert(_focused_screen);