windows: set fullscreen border size to 0 (#5865)

This commit is contained in:
JManch 2024-05-04 12:07:36 +01:00 committed by GitHub
parent 40201a760a
commit 2d40046f24
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1119,7 +1119,7 @@ void CWindow::updateSpecialRenderData(const SWorkspaceRule& workspaceRule) {
} }
int CWindow::getRealBorderSize() { int CWindow::getRealBorderSize() {
if (!m_sSpecialRenderData.border || m_sAdditionalConfigData.forceNoBorder) if (!m_sSpecialRenderData.border || m_sAdditionalConfigData.forceNoBorder || (m_pWorkspace && m_bIsFullscreen && (m_pWorkspace->m_efFullscreenMode == FULLSCREEN_FULL)))
return 0; return 0;
if (m_sAdditionalConfigData.borderSize.toUnderlying() != -1) if (m_sAdditionalConfigData.borderSize.toUnderlying() != -1)