minor cleaning

This commit is contained in:
fluxgen 2003-02-17 09:56:00 +00:00
parent 2c801101f8
commit a3e6f621d0

View file

@ -22,7 +22,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
// $Id: Window.cc,v 1.117 2003/02/16 17:57:53 rathnor Exp $
// $Id: Window.cc,v 1.118 2003/02/17 09:56:00 fluxgen Exp $
#include "Window.hh"
@ -1136,7 +1136,9 @@ void FluxboxWindow::setLayerNum(int layernum) {
}
void FluxboxWindow::shade() {
if (decorations.titlebar) {
if (!decorations.titlebar)
return;
// toggle shade on tab and frame
m_frame.shade();
if (tab)
@ -1155,7 +1157,7 @@ void FluxboxWindow::shade() {
setState(IconicState);
}
}
}