summaryrefslogtreecommitdiff
path: root/src/client.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-05 06:44:39 +0000
committerDana Jansens <danakj@orodu.net>2003-02-05 06:44:39 +0000
commit635af8c38bdb1ca47ae0b8274167d4e86100a40e (patch)
tree3301bb93dfbfcfd65bbd7d2dc76093c764a39210 /src/client.hh
parentbc099a5fdbc16d55f95f585f0509316aedbf9cf3 (diff)
make sure windows aren't doing things they aren't allowed when their allowed actions changes.
remaximize windows when their decorations are changed
Diffstat (limited to 'src/client.hh')
-rw-r--r--src/client.hh10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/client.hh b/src/client.hh
index a9fe9427..c17431a5 100644
--- a/src/client.hh
+++ b/src/client.hh
@@ -443,9 +443,10 @@ private:
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.
+ new window that is set to fullscreen. This has no effect
+ when restoring a window from fullscreen.
*/
- void fullscreen(bool fs, bool savearea);
+ void fullscreen(bool fs, bool savearea = true);
//! Maximize or unmaximize the client window
/*!
@@ -454,9 +455,10 @@ private:
@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.
+ new window that is set to fullscreen. This has no effect
+ when unmaximizing a window.
*/
- void maximize(bool max, int dir, bool savearea);
+ void maximize(bool max, int dir, bool savearea = true);
//! Internal version of the Client::move function
/*!