diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-14 09:54:05 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-14 09:54:05 +0000 |
| commit | 96a9196cbb71b7f8d5e3d98a92b2e59bb1b591a8 (patch) | |
| tree | 795fa58db8ecd287d1b77f76818cc260b106db17 /src/openbox.cc | |
| parent | 0afb43164484dcac4773ad778c032687da6b01aa (diff) | |
otk::Timer-ng!! thanks ManMower for this shizznit!
Diffstat (limited to 'src/openbox.cc')
| -rw-r--r-- | src/openbox.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/openbox.cc b/src/openbox.cc index 2f089891..f4d11257 100644 --- a/src/openbox.cc +++ b/src/openbox.cc @@ -113,6 +113,7 @@ Openbox::Openbox(int argc, char **argv) sigaction(SIGINT, &action, (struct sigaction *) 0); sigaction(SIGHUP, &action, (struct sigaction *) 0); + otk::Timer::initialize(); _property = new otk::Property(); _actions = new Actions(); _bindings = new Bindings(); @@ -194,6 +195,8 @@ Openbox::~Openbox() // all im gunna do is the same. //otk::display->destroy(); + otk::Timer::destroy(); + if (_restart) { if (!_restart_prog.empty()) { const std::string &dstr = @@ -320,7 +323,7 @@ void Openbox::eventLoop() XFlush(**otk::display); // flush here before we go wait for timers // don't wait if we're to shutdown if (_shutdown) break; - _timermanager.fire(!_sync); // wait if not in sync mode + otk::Timer::dispatchTimers(!_sync); // wait if not in sync mode } } |
