summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/openbox.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openbox.cc b/src/openbox.cc
index 4e098cb8..dda52848 100644
--- a/src/openbox.cc
+++ b/src/openbox.cc
@@ -306,7 +306,7 @@ void Openbox::showHelp()
void Openbox::eventLoop()
{
while (!_shutdown) {
- _timermanager.fire();
+ _timermanager.fire(!_sync); // wait if not in sync mode
dispatchEvents(); // from OtkEventDispatcher
XFlush(otk::OBDisplay::display); // flush here before we go wait for timers
}