summaryrefslogtreecommitdiff
path: root/src/client.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-01 05:26:06 +0000
committerDana Jansens <danakj@orodu.net>2003-02-01 05:26:06 +0000
commit2a2f4306f85a8aee0d0b89c3cd4dfaee5a85a928 (patch)
treea09b45c4fffa2ce743da9ad2bf3f1e18c70ba4e6 /src/client.hh
parent4527e71d1927df328298a9f4bbd22918eefddf63 (diff)
maximizing!
Diffstat (limited to 'src/client.hh')
-rw-r--r--src/client.hh16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/client.hh b/src/client.hh
index d43984cb..7539a7c8 100644
--- a/src/client.hh
+++ b/src/client.hh
@@ -431,8 +431,22 @@ private:
/*!
@param fs true if the window should be made fullscreen; false if it should
be returned to normal state.
+ @param savearea true to have the client's current size and position saved;
+ otherwise, they are not. You should not save when mapping a
+ new window that is set to fullscreen.
*/
- void fullscreen(bool fs);
+ void fullscreen(bool fs, bool savearea);
+
+ //! Maximize or unmaximize the client window
+ /*!
+ @param max true if the window should be maximized; false if it should be
+ returned to normal size.
+ @param dir 0 to set both horz and vert, 1 to set horz, 2 to set vert.
+ @param savearea true to have the client's current size and position saved;
+ otherwise, they are not. You should not save when mapping a
+ new window that is set to fullscreen.
+ */
+ void maximize(bool max, int dir, bool savearea);
//! Internal version of the Client::move function
/*!