void Openbox::setFocusedClient(Client *c)
{
- if (c == _focused_client) return;
+ // sometimes this is called with the already-focused window, this is
+ // important for the python scripts to work (eg, c = 0 twice). don't just
+ // return if _focused_client == c
+
assert(_focused_screen);
// uninstall the old colormap