Skip to content

Commit

Permalink
windows: set fullscreen border size to 0 (#5865)
Browse files Browse the repository at this point in the history
  • Loading branch information
JManch committed May 4, 2024
1 parent 40201a7 commit 2d40046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/desktop/Window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2d40046

Please sign in to comment.