From d1d5af967af0c539f10f035efe77b436fdcc37b8 Mon Sep 17 00:00:00 2001 From: LionHeartP Date: Sat, 4 Jul 2026 09:03:36 +0300 Subject: [PATCH 1/2] hyprbars and hyprfocus: chase Hyprland --- hyprbars/barDeco.cpp | 4 ++-- hyprfocus/main.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hyprbars/barDeco.cpp b/hyprbars/barDeco.cpp index b9240ee9..979d7910 100644 --- a/hyprbars/barDeco.cpp +++ b/hyprbars/barDeco.cpp @@ -16,7 +16,7 @@ #include #include #include -#include +#include #include #include #include @@ -49,7 +49,7 @@ CHyprBar::CHyprBar(PHLWINDOW pWindow) : IHyprWindowDecoration(pWindow) { m_pTouchMoveCallback = Event::bus()->m_events.input.touch.motion.listen([&](ITouch::SMotionEvent e, Event::SCallbackInfo& info) { onTouchMove(info, e); }); m_pMouseMoveCallback = Event::bus()->m_events.input.mouse.move.listen([&](Vector2D c, Event::SCallbackInfo& info) { onMouseMove(c); }); - g_pAnimationManager->createAnimation(configColor(g_pGlobalState->config.barColor->value()), m_cRealBarColor, Config::animationTree()->getAnimationPropertyConfig("border"), + Animation::mgr()->createAnimation(configColor(g_pGlobalState->config.barColor->value()), m_cRealBarColor, Config::animationTree()->getAnimationPropertyConfig("border"), pWindow, AVARDAMAGE_NONE); m_cRealBarColor->setUpdateCallback([&](auto) { damageEntire(); }); } diff --git a/hyprfocus/main.cpp b/hyprfocus/main.cpp index e44b5b55..b31e3d02 100644 --- a/hyprfocus/main.cpp +++ b/hyprfocus/main.cpp @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include #include From 97f3ec30c50fe7a6e616a265c64b2c9edf59a395 Mon Sep 17 00:00:00 2001 From: LionHeartP Date: Sat, 4 Jul 2026 09:04:16 +0300 Subject: [PATCH 2/2] hyprbars/barDeco.cpp clang-format --- hyprbars/barDeco.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyprbars/barDeco.cpp b/hyprbars/barDeco.cpp index 979d7910..ae6f1242 100644 --- a/hyprbars/barDeco.cpp +++ b/hyprbars/barDeco.cpp @@ -50,7 +50,7 @@ CHyprBar::CHyprBar(PHLWINDOW pWindow) : IHyprWindowDecoration(pWindow) { m_pMouseMoveCallback = Event::bus()->m_events.input.mouse.move.listen([&](Vector2D c, Event::SCallbackInfo& info) { onMouseMove(c); }); Animation::mgr()->createAnimation(configColor(g_pGlobalState->config.barColor->value()), m_cRealBarColor, Config::animationTree()->getAnimationPropertyConfig("border"), - pWindow, AVARDAMAGE_NONE); + pWindow, AVARDAMAGE_NONE); m_cRealBarColor->setUpdateCallback([&](auto) { damageEntire(); }); }