windows: fix no decorate not disabling borders (#11673)
This commit is contained in:
parent
adbf7c8663
commit
16c18dde24
2 changed files with 4 additions and 3 deletions
|
|
@ -157,5 +157,6 @@ std::string CHyprBorderDecoration::getDisplayName() {
|
|||
}
|
||||
|
||||
bool CHyprBorderDecoration::doesntWantBorders() {
|
||||
return m_window->m_windowData.noBorder.valueOrDefault() || m_window->m_X11DoesntWantBorders || m_window->getRealBorderSize() == 0;
|
||||
return m_window->m_windowData.noBorder.valueOrDefault() || m_window->m_X11DoesntWantBorders || m_window->getRealBorderSize() == 0 ||
|
||||
!m_window->m_windowData.decorate.valueOrDefault();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue