aboutsummaryrefslogtreecommitdiff
path: root/src/WorkspaceCmd.hh
diff options
context:
space:
mode:
authorJohn K Pate <j.k.pate at sms.ed.ac.uk>2010-09-13 21:58:59 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2010-09-17 14:22:33 (GMT)
commitf1f7bebf3722a24f0386424cb773e647bc6f5826 (patch)
tree6e154a9c5a60293993b0e6fbc71e1a6c70f89e18 /src/WorkspaceCmd.hh
parentd3eabeb805fdbd162c0743ed86a67e014e37c097 (diff)
downloadfluxbox-f1f7bebf3722a24f0386424cb773e647bc6f5826.zip
fluxbox-f1f7bebf3722a24f0386424cb773e647bc6f5826.tar.bz2
added 'ArrangeWindowsVertical' to actions
Diffstat (limited to 'src/WorkspaceCmd.hh')
-rw-r--r--src/WorkspaceCmd.hh9
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
171class ArrangeWindowsCmd: public FbTk::Command<void> { 171class ArrangeWindowsCmd: public FbTk::Command<void> {
172public: 172public:
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();
175private: 181private:
182 const int m_tile_method;
176 const ClientPattern m_pat; 183 const ClientPattern m_pat;
177}; 184};
178 185