From c03068ee3a2e981e31eeda583d10b9d572de92bd Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 12 Jan 2003 20:52:36 +0000 Subject: [PATCH] dispatch events before waiting for timers on startup --- src/openbox.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } } -- 2.39.2