]> Dogcows Code - chaz/openbox/commitdiff
dispatch events before waiting for timers on startup
authorDana Jansens <danakj@orodu.net>
Sun, 12 Jan 2003 20:52:36 +0000 (20:52 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 12 Jan 2003 20:52:36 +0000 (20:52 +0000)
src/openbox.cc

index 5b4ceedceea368bfd80593434c3e5cfe3aef47ab..a70f8be44fc69eee26d0bdba10808def1deddeb4 100644 (file)
@@ -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
   }
 }
 
This page took 0.020982 seconds and 4 git commands to generate.