X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fclient.hh;fp=src%2Fclient.hh;h=c17431a556fe476fb81b47f190ef7c0c7fe00e90;hb=635af8c38bdb1ca47ae0b8274167d4e86100a40e;hp=a9fe942766666e91087849372cf95462a19d0ad3;hpb=bc099a5fdbc16d55f95f585f0509316aedbf9cf3;p=chaz%2Fopenbox 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 /*!