dispatch events before waiting for timers on startup
This commit is contained in:
parent
bd39de609b
commit
c03068ee3a
1 changed files with 1 additions and 1 deletions
|
@ -320,9 +320,9 @@ void Openbox::showHelp()
|
||||||
void Openbox::eventLoop()
|
void Openbox::eventLoop()
|
||||||
{
|
{
|
||||||
while (!_shutdown) {
|
while (!_shutdown) {
|
||||||
_timermanager.fire(!_sync); // wait if not in sync mode
|
|
||||||
dispatchEvents(); // from otk::EventDispatcher
|
dispatchEvents(); // from otk::EventDispatcher
|
||||||
XFlush(otk::Display::display); // flush here before we go wait for timers
|
XFlush(otk::Display::display); // flush here before we go wait for timers
|
||||||
|
_timermanager.fire(!_sync); // wait if not in sync mode
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue