summaryrefslogtreecommitdiff
path: root/src/openbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/openbox.cc')
-rw-r--r--src/openbox.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/openbox.cc b/src/openbox.cc
index 29f9ea94..de7767a2 100644
--- a/src/openbox.cc
+++ b/src/openbox.cc
@@ -361,9 +361,8 @@ Client *Openbox::findClient(Window window)
void Openbox::setFocusedClient(Client *c)
{
// 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
- // cycling list, it relies on this behavior. don't just return if its already
- // set as focused
+ // important for the python scripts to work (eg, c = 0 twice). don't just
+ // return if _focused_client == c
assert(_focused_screen);