only call applySizeHints when desired
passing the "make_fit" parameter isn't sufficient to ignore constraints
This commit is contained in:
parent
0c13ddc0c8
commit
53bb2407c9
1 changed files with 2 additions and 3 deletions
|
@ -501,9 +501,8 @@ void FbWinFrame::applyState() {
|
|||
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);
|
||||
|
|
Loading…
Reference in a new issue