From 2d40046f24c051767dc541bef3ffb8366901d898 Mon Sep 17 00:00:00 2001 From: JManch <61563764+JManch@users.noreply.github.com> Date: Sat, 4 May 2024 12:07:36 +0100 Subject: [PATCH] windows: set fullscreen border size to 0 (#5865) --- src/desktop/Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/desktop/Window.cpp b/src/desktop/Window.cpp index ee942ff5..78403afe 100644 --- a/src/desktop/Window.cpp +++ b/src/desktop/Window.cpp @@ -1119,7 +1119,7 @@ void CWindow::updateSpecialRenderData(const SWorkspaceRule& workspaceRule) { } 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; if (m_sAdditionalConfigData.borderSize.toUnderlying() != -1)