diff options
author | JManch <[email protected]> | 2024-05-04 12:07:36 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-05-04 12:07:36 +0100 |
commit | 2d40046f24c051767dc541bef3ffb8366901d898 (patch) | |
tree | e1faf427d66548b6a824312f0ae4e5961e0c6d5e /src/desktop/Window.cpp | |
parent | 40201a760acd7c5ca10f27e7d0fdeb71c20df89f (diff) | |
download | Hyprland-2d40046f24c051767dc541bef3ffb8366901d898.tar.gz Hyprland-2d40046f24c051767dc541bef3ffb8366901d898.zip |
windows: set fullscreen border size to 0 (#5865)
Diffstat (limited to 'src/desktop/Window.cpp')
-rw-r--r-- | src/desktop/Window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |