From: Dana Jansens Date: Wed, 22 Jan 2003 23:11:30 +0000 (+0000) Subject: break when no more widgets showing X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=77882b46dbeb1f626f052e2eb3cb200d44f3e3ff;p=chaz%2Fopenbox break when no more widgets showing --- 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 } }