X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=otk%2Fapplication.cc;h=efe86d153a21490decf652ab396bc9cdaf765c17;hb=5802cf6109b720b8f7fa90e2c342b9dc202a6d9b;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 } }