all repos — fluxbox @ 60231936357b4258a832e824408f579490ab54f6

custom fork of the fluxbox windowmanager

Save settings when we change them
fluxgen fluxgen
commit

60231936357b4258a832e824408f579490ab54f6

parent

a1c872415ab45340d7346e5e58232d371ca18d52

1 files changed, 12 insertions(+), 3 deletions(-)

jump to
M src/Configmenu.ccsrc/Configmenu.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Configmenu.cc,v 1.13 2002/04/12 15:14:09 fluxgen Exp $ +// $Id: Configmenu.cc,v 1.14 2002/04/28 16:00:27 fluxgen Exp $ // stupid macros needed to access some functions in version 2 of the GNU C // library

@@ -195,6 +195,9 @@ }

break; } + //save resources + Fluxbox::instance()->save_rc(); + } }

@@ -289,7 +292,10 @@ configmenu->screen->saveAutoRaise(change);

break; } - + //save resources + Fluxbox::instance()->save_rc(); + + //toggle options setItemSelected(0, !(configmenu->screen->isSloppyFocus() || configmenu->screen->isSemiSloppyFocus())); setItemSelected(1, configmenu->screen->isSloppyFocus());

@@ -427,6 +433,8 @@ setItemSelected(6, true);

break; } + //save resources + Fluxbox::instance()->save_rc(); } } }

@@ -638,7 +646,8 @@ else

configmenu->screen->saveTabRotateVertical(True); break; } - + //save resources + Fluxbox::instance()->save_rc(); Fluxbox::instance()->reconfigureTabs(); //TODO setSelected(); }