]> Dogcows Code - chaz/openbox/blobdiff - util/epist/screen.cc
add new binary
[chaz/openbox] / util / epist / screen.cc
index 80a579cc2d0e0c5fdeacb9249a8f513af8260691..e91685a89a68e2899da294ddcdf12ba00fd68c7d 100644 (file)
@@ -65,7 +65,7 @@ screen::screen(epist *epist, int number)
   _managed = false;
   while (! (_epist->doShutdown() || _managed || count <= 0)) {
     if (! (_managed = findSupportingWM()))
-      usleep(1000);
+      sleep(1);
     --count;
   }
   if (_managed)
@@ -523,6 +523,7 @@ void screen::cycleWindow(const bool forward, const bool allscreens,
 
     // found a good window!
     t->focus();
+    return;
   }
 }
 
This page took 0.022115 seconds and 4 git commands to generate.