aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 52672c0..b175314 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -1465,9 +1465,6 @@ void FluxboxWindow::setFullscreen(bool flag) {
1465 1465
1466 if (flag && !isFullscreen()) { 1466 if (flag && !isFullscreen()) {
1467 1467
1468 if (isShaded())
1469 shade();
1470
1471 m_old_layernum = layerNum(); 1468 m_old_layernum = layerNum();
1472 fullscreen = true; 1469 fullscreen = true;
1473 frame().setFullscreen(true); 1470 frame().setFullscreen(true);
@@ -1535,9 +1532,6 @@ void FluxboxWindow::setMaximizedState(int type) {
1535 return; 1532 return;
1536 } 1533 }
1537 1534
1538 if (isShaded())
1539 shade();
1540
1541 if (isResizing()) 1535 if (isResizing())
1542 stopResizing(); 1536 stopResizing();
1543 1537
@@ -1605,7 +1599,7 @@ void FluxboxWindow::shade() {
1605 frame().shade(); 1599 frame().shade();
1606 1600
1607 shaded = !shaded; 1601 shaded = !shaded;
1608 1602 stateSig().notify();
1609 // TODO: this should set IconicState, but then we can't focus the window 1603 // TODO: this should set IconicState, but then we can't focus the window
1610} 1604}
1611 1605