aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-08-02 11:56:31 (GMT)
committerPaul Tagliamonte <paultag@fluxbox.org>2012-04-07 02:13:12 (GMT)
commit224ac66f4f932ea05bec55a7e4a1f1e6c47fea50 (patch)
tree5585e75f941cff362da71d1d1224a4827b9a6ebc /src/fluxbox.cc
parentfb697e49027f050c00e098f24898b17cfe639c5f (diff)
downloadfluxbox_paul-224ac66f4f932ea05bec55a7e4a1f1e6c47fea50.zip
fluxbox_paul-224ac66f4f932ea05bec55a7e4a1f1e6c47fea50.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 a26fd66..75f38d7 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"),