aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FbWinFrame.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc
index 012b359..00bc118 100644
--- a/src/FbWinFrame.cc
+++ b/src/FbWinFrame.cc
@@ -501,9 +501,8 @@ void FbWinFrame::applyState() {
501 new_y = m_screen.getHeadY(head); 501 new_y = m_screen.getHeadY(head);
502 new_w = m_screen.getHeadWidth(head); 502 new_w = m_screen.getHeadWidth(head);
503 new_h = m_screen.getHeadHeight(head); 503 new_h = m_screen.getHeadHeight(head);
504 } else { 504 } else if (m_state.maximized == WindowState::MAX_NONE || !m_screen.getMaxIgnoreIncrement()) {
505 applySizeHints(new_w, new_h, m_state.maximized == WindowState::MAX_NONE || 505 applySizeHints(new_w, new_h, true);
506 !m_screen.getMaxIgnoreIncrement());
507 } 506 }
508 507
509 moveResize(new_x, new_y, new_w, new_h, true, true, true); 508 moveResize(new_x, new_y, new_w, new_h, true, true, true);