bugfix: when maximizing a shaded window, unshade it before
Mathias Gumz akira at fluxbox dot org
1 files changed,
6 insertions(+),
0 deletions(-)
jump to
M
src/Window.cc
→
src/Window.cc
@@ -1500,6 +1500,12 @@
if (isResizing()) stopResizing(); + if (isShaded()) { + // do not call ::shade() here to trigger frame().applyState() and + // stateSig().notfiy() only once + m_state.shaded = false; + } + m_state.maximized = type; frame().applyState();