diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fluxbox.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index ea827f2..2c63ddb 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -256,10 +256,7 @@ Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, | |||
256 | // because it could affect ongoing menu stuff so we need to reconfig in | 256 | // because it could affect ongoing menu stuff so we need to reconfig in |
257 | // the next event "round". | 257 | // the next event "round". |
258 | FbTk::RefCount<FbTk::Command<void> > reconfig_cmd(new FbTk::SimpleCommand<Fluxbox>(*this, &Fluxbox::timed_reconfigure)); | 258 | FbTk::RefCount<FbTk::Command<void> > reconfig_cmd(new FbTk::SimpleCommand<Fluxbox>(*this, &Fluxbox::timed_reconfigure)); |
259 | timeval to; | 259 | m_reconfig_timer.setTimeout(0, 1); |
260 | to.tv_sec = 0; | ||
261 | to.tv_usec = 1; | ||
262 | m_reconfig_timer.setTimeout(to); | ||
263 | m_reconfig_timer.setCommand(reconfig_cmd); | 260 | m_reconfig_timer.setCommand(reconfig_cmd); |
264 | m_reconfig_timer.fireOnce(true); | 261 | m_reconfig_timer.fireOnce(true); |
265 | 262 | ||