diff options
Diffstat (limited to 'src/CurrentWindowCmd.hh')
-rw-r--r-- | src/CurrentWindowCmd.hh | 5 |
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 |
125 | class StartResizingCmd: public WindowHelperCmd { | 125 | class StartResizingCmd: public WindowHelperCmd { |
126 | public: | 126 | public: |
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); |
130 | protected: | 131 | protected: |
131 | void real_execute(); | 132 | void real_execute(); |
132 | private: | 133 | private: |
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 |