From 2401d5b93373dd09298e34067dd06b9ede9bf2a1 Mon Sep 17 00:00:00 2001 From: LionHeartP Date: Thu, 3 Sep 2026 07:44:19 +0300 Subject: [PATCH] hyprbars: chase hyprland --- hyprbars/barDeco.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hyprbars/barDeco.cpp b/hyprbars/barDeco.cpp index 02dc7324..85067d2c 100644 --- a/hyprbars/barDeco.cpp +++ b/hyprbars/barDeco.cpp @@ -213,7 +213,7 @@ void CHyprBar::handleDownEvent(Event::SCallbackInfo& info, std::optionalendDragTarget(); - Log::logger->log(Log::DEBUG, "[hyprbars] Dragging ended on {:x}", (uintptr_t)PWINDOW.get()); + LOG(Log::DEBUG, "[hyprbars] Dragging ended on {:x}", (uintptr_t)PWINDOW.get()); } m_bDraggingThis = false; @@ -263,7 +263,7 @@ void CHyprBar::handleUpEvent(Event::SCallbackInfo& info) { if (m_bTouchEv) (void)Config::Actions::floatWindow(Config::Actions::eTogglableAction::TOGGLE_ACTION_DISABLE); - Log::logger->log(Log::DEBUG, "[hyprbars] Dragging ended on {:x}", (uintptr_t)m_pWindow.lock().get()); + LOG(Log::DEBUG, "[hyprbars] Dragging ended on {:x}", (uintptr_t)m_pWindow.lock().get()); } m_bDragPending = false; @@ -274,7 +274,7 @@ void CHyprBar::handleUpEvent(Event::SCallbackInfo& info) { void CHyprBar::handleMovement() { g_layoutManager->beginDragTarget(m_pWindow.lock()->layoutTarget(), MBIND_MOVE); m_bDraggingThis = true; - Log::logger->log(Log::DEBUG, "[hyprbars] Dragging initiated on {:x}", (uintptr_t)m_pWindow.lock().get()); + LOG(Log::DEBUG, "[hyprbars] Dragging initiated on {:x}", (uintptr_t)m_pWindow.lock().get()); return; }