aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2010-09-09 21:24:27 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2010-09-09 21:24:27 (GMT)
commitecdaba28743069d23ea04531129e11cb9b42995d (patch)
tree8573e075a4bd66270189bf0c5133656953ef7ab8 /src
parentffd5f2807272d14fecf2b115174ca80f9b852ea2 (diff)
downloadfluxbox_pavel-ecdaba28743069d23ea04531129e11cb9b42995d.zip
fluxbox_pavel-ecdaba28743069d23ea04531129e11cb9b42995d.tar.bz2
simpler code
Diffstat (limited to 'src')
-rw-r--r--src/fluxbox.cc5
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