]> Dogcows Code - chaz/openbox/blobdiff - src/openbox.cc
update children first
[chaz/openbox] / src / openbox.cc
index 50146e270dad245e0a025535aab917cba032c75c..de7767a2151c10594c5ad08771385f464667c63f 100644 (file)
@@ -360,7 +360,10 @@ Client *Openbox::findClient(Window window)
 
 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
This page took 0.020556 seconds and 4 git commands to generate.