diff options
Diffstat (limited to 'src/WorkspaceCmd.hh')
-rw-r--r-- | src/WorkspaceCmd.hh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/WorkspaceCmd.hh b/src/WorkspaceCmd.hh index ad63d04..f4f90a6 100644 --- a/src/WorkspaceCmd.hh +++ b/src/WorkspaceCmd.hh | |||
@@ -170,9 +170,16 @@ private: | |||
170 | /// arranges windows in current workspace to rows and columns | 170 | /// arranges windows in current workspace to rows and columns |
171 | class ArrangeWindowsCmd: public FbTk::Command<void> { | 171 | class ArrangeWindowsCmd: public FbTk::Command<void> { |
172 | public: | 172 | public: |
173 | ArrangeWindowsCmd(std::string &pat): m_pat(pat.c_str()) { } | 173 | enum { |
174 | UNSPECIFIED, | ||
175 | VERTICAL, | ||
176 | HORIZONTAL | ||
177 | }; | ||
178 | explicit ArrangeWindowsCmd(int tile_method, std::string &pat): | ||
179 | m_tile_method( tile_method ), m_pat(pat.c_str()) { } | ||
174 | void execute(); | 180 | void execute(); |
175 | private: | 181 | private: |
182 | const int m_tile_method; | ||
176 | const ClientPattern m_pat; | 183 | const ClientPattern m_pat; |
177 | }; | 184 | }; |
178 | 185 | ||