]> Dogcows Code - chaz/openbox/commitdiff
break when no more widgets showing
authorDana Jansens <danakj@orodu.net>
Wed, 22 Jan 2003 23:11:30 +0000 (23:11 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 22 Jan 2003 23:11:30 +0000 (23:11 +0000)
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.02162 seconds and 4 git commands to generate.