Skip to content

Commit

Permalink
idk
Browse files Browse the repository at this point in the history
  • Loading branch information
nnyyxxxx committed Feb 24, 2025
1 parent fca768d commit 2f9bff2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/desktop/Window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,8 @@ void CWindow::applyDynamicRule(const SP<CWindowRule>& r) {
break;
}
case CWindowRule::RULE_DISABLEMAXIMIZEDHINTS: {
if (m_bWasMaximized)
m_vRealSize->setValueAndWarp(m_vLastFloatingSize);
m_bWasMaximized = false;
if (m_pXDGSurface && m_pXDGSurface->toplevel)
m_pXDGSurface->toplevel->setMaximized(false);
Expand Down

0 comments on commit 2f9bff2

Please sign in to comment.