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>2013-02-18 21:04:25 (GMT)
commitd9be60362f364145daeaa21dcea99d0fff4c1203 (patch)
treeba967b97366967c49db552bf9af26061e70a6813 /src/fluxbox.cc
parentff9a9752654e8958ca66c8f8c7f3d1621295ca03 (diff)
downloadfluxbox_pavel-d9be60362f364145daeaa21dcea99d0fff4c1203.zip
fluxbox_pavel-d9be60362f364145daeaa21dcea99d0fff4c1203.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 0c8c3af..0cfcd41 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -239,7 +239,7 @@ Fluxbox::Fluxbox(int argc, char **argv,
239 : FbTk::App(dpy_name.c_str()), 239 : FbTk::App(dpy_name.c_str()),
240 m_l(new Lua), 240 m_l(new Lua),
241 m_fbatoms(FbAtoms::instance()), 241 m_fbatoms(FbAtoms::instance()),
242 m_resourcemanager("session", *m_l), 242 m_resourcemanager("session", *m_l, 5),
243 243
244 m_RC_PATH(rc_path), 244 m_RC_PATH(rc_path),
245 m_rc_ignoreborder(m_resourcemanager, false, "ignoreBorder"), 245 m_rc_ignoreborder(m_resourcemanager, false, "ignoreBorder"),