diff options
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/Window.cc b/src/Window.cc index 47118fa..95bf9b3 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -251,11 +251,8 @@ private: | |||
251 | int m_mode; | 251 | int m_mode; |
252 | }; | 252 | }; |
253 | 253 | ||
254 | extern const char win_buttons_delim[] = " \t\n"; | 254 | typedef FbTk::VectorTraits<FbTk::EnumTraits<WinButton::Type> > WinButtonsTraits; |
255 | typedef FbTk::Resource< | 255 | typedef FbTk::Resource<vector<WinButton::Type>, WinButtonsTraits> WinButtonsResource; |
256 | vector<WinButton::Type>, | ||
257 | FbTk::VectorTraits<FbTk::EnumTraits<WinButton::Type>, win_buttons_delim> | ||
258 | > WinButtonsResource; | ||
259 | 256 | ||
260 | } | 257 | } |
261 | 258 | ||
@@ -3477,7 +3474,7 @@ void FluxboxWindow::setupWindow() { | |||
3477 | titlebar_side[i] = | 3474 | titlebar_side[i] = |
3478 | new WinButtonsResource(rm, | 3475 | new WinButtonsResource(rm, |
3479 | WinButtonsResource::Type(begin, end), | 3476 | WinButtonsResource::Type(begin, end), |
3480 | titlebar_name[i]); | 3477 | titlebar_name[i], WinButtonsTraits(" \t\n")); |
3481 | 3478 | ||
3482 | 3479 | ||
3483 | screen().addManagedResource(titlebar_side[i]); | 3480 | screen().addManagedResource(titlebar_side[i]); |