]> Dogcows Code - chaz/openbox/blobdiff - otk/application.cc
allow for ignoring x errors.
[chaz/openbox] / otk / application.cc
index e4de62c16bc8cf36e83b2a126d73be55b5bec761..efe86d153a21490decf652ab396bc9cdaf765c17 100644 (file)
@@ -63,6 +63,8 @@ void Application::run(void)
 
   while (_appwidget_count > 0) {
     dispatchEvents();
+    if (_appwidget_count <= 0)
+      break;
     Timer::dispatchTimers(); // fire pending events
   }
 }
This page took 0.023165 seconds and 4 git commands to generate.