internal: Remake borders as window decorations (#4104)

This commit is contained in:
Vaxry
2023-12-10 16:28:12 +00:00
committed by GitHub
parent b3dc58e104
commit 9f5b9053c6
12 changed files with 201 additions and 78 deletions

View File

@@ -229,6 +229,8 @@ void CAnimationManager::tick() {
case AVARDAMAGE_BORDER: {
RASSERT(PWINDOW, "Tried to AVARDAMAGE_BORDER a non-window AVAR!");
// TODO: move this to the border class
// damage only the border.
static auto* const PROUNDING = &g_pConfigManager->getConfigValuePtr("decoration:rounding")->intValue;
const auto ROUNDINGSIZE = *PROUNDING + 1;