flush before waiting for timers

This commit is contained in:
Dana Jansens 2002-12-27 08:30:38 +00:00
parent e9ec2ce0eb
commit 51f8b875b3

View file

@ -300,6 +300,7 @@ void Openbox::eventLoop()
{ {
while (!_doshutdown) { while (!_doshutdown) {
dispatchEvents(); // from OtkEventDispatcher dispatchEvents(); // from OtkEventDispatcher
XFlush(otk::OBDisplay::display); // flush here before we go wait for timers
_timermanager.fire(); _timermanager.fire();
} }
} }