all repos — fluxbox @ 53bb2407c918e1f5b8cf88aa87ec76a2b66f76e2

custom fork of the fluxbox windowmanager

only call applySizeHints when desired

passing the "make_fit" parameter isn't sufficient to ignore constraints
Thomas Lübking thomas.luebking@gmail.com
commit

53bb2407c918e1f5b8cf88aa87ec76a2b66f76e2

parent

0c13ddc0c85ed4445ff8e289387c142e0ac98c77

1 files changed, 2 insertions(+), 3 deletions(-)

jump to
M src/FbWinFrame.ccsrc/FbWinFrame.cc

@@ -501,9 +501,8 @@ new_x = m_screen.getHeadX(head);

new_y = m_screen.getHeadY(head); new_w = m_screen.getHeadWidth(head); new_h = m_screen.getHeadHeight(head); - } else { - applySizeHints(new_w, new_h, m_state.maximized == WindowState::MAX_NONE || - !m_screen.getMaxIgnoreIncrement()); + } else if (m_state.maximized == WindowState::MAX_NONE || !m_screen.getMaxIgnoreIncrement()) { + applySizeHints(new_w, new_h, true); } moveResize(new_x, new_y, new_w, new_h, true, true, true);