From: Dana Jansens Date: Sun, 12 Jan 2003 20:52:36 +0000 (+0000) Subject: dispatch events before waiting for timers on startup X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=c03068ee3a2e981e31eeda583d10b9d572de92bd;p=chaz%2Fopenbox dispatch events before waiting for timers on startup --- diff --git a/src/openbox.cc b/src/openbox.cc index 5b4ceedc..a70f8be4 100644 --- a/src/openbox.cc +++ b/src/openbox.cc @@ -320,9 +320,9 @@ void Openbox::showHelp() void Openbox::eventLoop() { while (!_shutdown) { - _timermanager.fire(!_sync); // wait if not in sync mode dispatchEvents(); // from otk::EventDispatcher XFlush(otk::Display::display); // flush here before we go wait for timers + _timermanager.fire(!_sync); // wait if not in sync mode } }