X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fapplication.cc;h=efe86d153a21490decf652ab396bc9cdaf765c17;hb=0c05f5d9c76d4c765022eb72dc03de6671c20734;hp=e4de62c16bc8cf36e83b2a126d73be55b5bec761;hpb=033e9843bcec8340c9e657fe0f0519f86075424b;p=chaz%2Fopenbox diff --git a/otk/application.cc b/otk/application.cc index e4de62c1..efe86d15 100644 --- a/otk/application.cc +++ b/otk/application.cc @@ -63,6 +63,8 @@ void Application::run(void) while (_appwidget_count > 0) { dispatchEvents(); + if (_appwidget_count <= 0) + break; Timer::dispatchTimers(); // fire pending events } }