summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Window.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 9df48a2..56cbd96 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -1500,6 +1500,12 @@ void FluxboxWindow::setMaximizedState(int type) {
1500 if (isResizing()) 1500 if (isResizing())
1501 stopResizing(); 1501 stopResizing();
1502 1502
1503 if (isShaded()) {
1504 // do not call ::shade() here to trigger frame().applyState() and
1505 // stateSig().notfiy() only once
1506 m_state.shaded = false;
1507 }
1508
1503 m_state.maximized = type; 1509 m_state.maximized = type;
1504 frame().applyState(); 1510 frame().applyState();
1505 1511