aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommands.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbCommands.cc')
-rw-r--r--src/FbCommands.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/FbCommands.cc b/src/FbCommands.cc
index 4b40f82..8683711 100644
--- a/src/FbCommands.cc
+++ b/src/FbCommands.cc
@@ -253,10 +253,7 @@ RestartFluxboxCmd::RestartFluxboxCmd(const string &cmd):m_cmd(cmd){
253} 253}
254 254
255void RestartFluxboxCmd::execute() { 255void RestartFluxboxCmd::execute() {
256 if (m_cmd.empty()) 256 Fluxbox::instance()->restart(m_cmd.c_str());
257 Fluxbox::instance()->restart();
258 else
259 Fluxbox::instance()->restart(m_cmd.c_str());
260} 257}
261 258
262REGISTER_COMMAND(reconfigure, FbCommands::ReconfigureFluxboxCmd, void); 259REGISTER_COMMAND(reconfigure, FbCommands::ReconfigureFluxboxCmd, void);