aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-08-02 11:56:31 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-11-01 10:04:01 (GMT)
commit476f845dcda2ff239616ec075521ab6826805245 (patch)
tree846af8c630fa22d67ad1017233afc5503b4786be /src/fluxbox.cc
parent1eb80ce64236026445929fe42f3843da9e53a937 (diff)
downloadfluxbox_pavel-476f845dcda2ff239616ec075521ab6826805245.zip
fluxbox_pavel-476f845dcda2ff239616ec075521ab6826805245.tar.bz2
Automatically save init file when a resource is modified
previously, init was autosaved only when a resource was modified using the menu. I have also included modifications through lua code. To avoid wasting resources, the file is not saved immediately, but with a 5 second delay (to enable saving a bunch of changes in one go)
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r--src/fluxbox.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 8ffd9f3..68888f1 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -230,7 +230,7 @@ Fluxbox::Fluxbox(int argc, char **argv,
230 : FbTk::App(dpy_name.c_str()), 230 : FbTk::App(dpy_name.c_str()),
231 m_l(new Lua), 231 m_l(new Lua),
232 m_fbatoms(FbAtoms::instance()), 232 m_fbatoms(FbAtoms::instance()),
233 m_resourcemanager("session", *m_l), 233 m_resourcemanager("session", *m_l, 5),
234 234
235 m_RC_PATH(rc_path), 235 m_RC_PATH(rc_path),
236 m_RC_INIT_FILE("init"), 236 m_RC_INIT_FILE("init"),