dispatch events before waiting for timers on startup
Dana Jansens danakj@orodu.net
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/openbox.cc
→
src/openbox.cc
@@ -320,9 +320,9 @@
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 } }