summaryrefslogtreecommitdiff
path: root/src/Compositor.cpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2026-04-16 19:47:53 +0100
committerGitHub <noreply@github.com>2026-04-16 19:47:53 +0100
commitb5ea887f072fa055cf23ec389ed81e3ee4c5319a (patch)
tree7e160c3677e9829aa247a56dbc05df98fe084cea /src/Compositor.cpp
parent66ea2e2c9ed4e9257521e6706fbd21feb7e3cc5b (diff)
debug/overlay: optimize rendering, cleanup and nicetify (#14097)
optimizes the rendering, drops direct cairo, fixes up api. Also improves the visuals etc of the overlay
Diffstat (limited to 'src/Compositor.cpp')
-rw-r--r--src/Compositor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index a5826d19..d9de5195 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -74,7 +74,7 @@
#include "plugins/PluginSystem.hpp"
#include "hyprerror/HyprError.hpp"
#include "notification/NotificationOverlay.hpp"
-#include "debug/HyprDebugOverlay.hpp"
+#include "debug/Overlay.hpp"
#include "helpers/MonitorFrameScheduler.hpp"
#include "i18n/Engine.hpp"
#include "layout/LayoutManager.hpp"
@@ -591,7 +591,7 @@ void CCompositor::cleanup() {
g_pCursorManager.reset();
g_pPluginSystem.reset();
Notification::overlay().reset();
- g_pDebugOverlay.reset();
+ Debug::overlay().reset();
g_pEventManager.reset();
g_pSessionLockManager.reset();
g_pHyprRenderer.reset();
@@ -694,8 +694,8 @@ void CCompositor::initManagers(eManagersInitStage stage) {
Log::logger->log(Log::DEBUG, "Creating the SessionLockManager!");
g_pSessionLockManager = makeUnique<CSessionLockManager>();
- Log::logger->log(Log::DEBUG, "Creating the HyprDebugOverlay!");
- g_pDebugOverlay = makeUnique<CHyprDebugOverlay>();
+ Log::logger->log(Log::DEBUG, "Creating the Debug Overlay!");
+ Debug::overlay();
Log::logger->log(Log::DEBUG, "Creating the NotificationOverlay!");
Notification::overlay();