aboutsummaryrefslogtreecommitdiff
path: root/src/CurrentWindowCmd.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/CurrentWindowCmd.hh')
-rw-r--r--src/CurrentWindowCmd.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/CurrentWindowCmd.hh b/src/CurrentWindowCmd.hh
index f406796..95175f2 100644
--- a/src/CurrentWindowCmd.hh
+++ b/src/CurrentWindowCmd.hh
@@ -124,13 +124,16 @@ protected:
124// begin resizing with mouse 124// begin resizing with mouse
125class StartResizingCmd: public WindowHelperCmd { 125class StartResizingCmd: public WindowHelperCmd {
126public: 126public:
127 explicit StartResizingCmd(FluxboxWindow::ResizeModel mode):m_mode(mode) { } 127 explicit StartResizingCmd(FluxboxWindow::ResizeModel mode, int corner_size_px, int corner_size_pc):
128 m_mode(mode), m_corner_size_px(corner_size_px), m_corner_size_pc(corner_size_pc) { }
128 static FbTk::Command<void> *parse(const std::string &command, 129 static FbTk::Command<void> *parse(const std::string &command,
129 const std::string &args, bool trusted); 130 const std::string &args, bool trusted);
130protected: 131protected:
131 void real_execute(); 132 void real_execute();
132private: 133private:
133 const FluxboxWindow::ResizeModel m_mode; 134 const FluxboxWindow::ResizeModel m_mode;
135 const int m_corner_size_px; // Corner size in pixels
136 const int m_corner_size_pc; // and in percent of half window width/height
134}; 137};
135 138
136// begin tabbing with mouse 139// begin tabbing with mouse