mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 21:05:57 +01:00
windows: set fullscreen border size to 0 (#5865)
This commit is contained in:
parent
40201a760a
commit
2d40046f24
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue