diff options
Diffstat (limited to 'src/ScreenResources.cc')
-rw-r--r-- | src/ScreenResources.cc | 5 |
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 | } |