aboutsummaryrefslogtreecommitdiff
path: root/src/ScreenResources.cc
diff options
context:
space:
mode:
authormarkt <markt>2006-08-02 22:02:31 (GMT)
committermarkt <markt>2006-08-02 22:02:31 (GMT)
commit00d862724a5dae43dbf1cbe4378fb846218fb3c3 (patch)
tree5538b87535f1115dad8aed5950325eaa1ee17f84 /src/ScreenResources.cc
parent9053e772db1ea9ab2b7a1baa88ba81fed2577f64 (diff)
downloadfluxbox-00d862724a5dae43dbf1cbe4378fb846218fb3c3.zip
fluxbox-00d862724a5dae43dbf1cbe4378fb846218fb3c3.tar.bz2
rename session.screen*.iconbar.deiconifyMode to session.screen0.userFollowModel
Diffstat (limited to 'src/ScreenResources.cc')
-rw-r--r--src/ScreenResources.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ScreenResources.cc b/src/ScreenResources.cc
index ea88c79..83bd7c9 100644
--- a/src/ScreenResources.cc
+++ b/src/ScreenResources.cc
@@ -88,6 +88,9 @@ std::string FbTk::Resource<BScreen::FollowModel>::getString() const {
88 case BScreen::FETCH_ACTIVE_WINDOW: 88 case BScreen::FETCH_ACTIVE_WINDOW:
89 return std::string("Current"); 89 return std::string("Current");
90 break; 90 break;
91 case BScreen::SEMIFOLLOW_ACTIVE_WINDOW:
92 return std::string("SemiFollow");
93 break;
91 case BScreen::IGNORE_OTHER_WORKSPACES: 94 case BScreen::IGNORE_OTHER_WORKSPACES:
92 default: 95 default:
93 return std::string("Ignore"); 96 return std::string("Ignore");
@@ -105,6 +108,8 @@ setFromString(char const *strval) {
105 strcasecmp(strval, "CurrentWorkspace") == 0 || 108 strcasecmp(strval, "CurrentWorkspace") == 0 ||
106 strcasecmp(strval, "Fetch") == 0) 109 strcasecmp(strval, "Fetch") == 0)
107 m_value = BScreen::FETCH_ACTIVE_WINDOW; 110 m_value = BScreen::FETCH_ACTIVE_WINDOW;
111 else if (strcasecmp(strval, "SemiFollow") == 0)
112 m_value = BScreen::SEMIFOLLOW_ACTIVE_WINDOW;
108 else 113 else
109 setDefaultValue(); 114 setDefaultValue();
110} 115}