layout: update rules before applying fullscreen nodes in layouts

This commit is contained in:
vaxerski 2024-01-02 14:21:22 +01:00
parent 583b05a8c6
commit 813af393f1
4 changed files with 8 additions and 3 deletions

View file

@ -104,5 +104,5 @@ std::string CHyprBorderDecoration::getDisplayName() {
}
bool CHyprBorderDecoration::doesntWantBorders() {
return !m_pWindow->m_sSpecialRenderData.border || m_pWindow->m_bX11DoesntWantBorders;
return !m_pWindow->m_sSpecialRenderData.border || m_pWindow->m_bX11DoesntWantBorders || m_pWindow->getRealBorderSize() == 0;
}