mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-15 20:13:49 -07:00
windows: set fullscreen border size to 0 (#5865)
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user