summaryrefslogtreecommitdiff
path: root/src/Compositor.cpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2026-04-19 18:47:49 +0100
committerGitHub <noreply@github.com>2026-04-19 18:47:49 +0100
commita360c31d0434898888e710f4a5f560200f50cecf (patch)
treef68746c77b416654ec059f670e2e66af62581de3 /src/Compositor.cpp
parent889ee4f26d77ff0c36f5c4767ef0629371fd2c18 (diff)
errorOverlay: modernize, refactor, use GPU rendering (#14122)
Improves the overlay's rendering: - GPU accelerated - supports gradients - wraps - cleaner code a bit
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 d9de5195..92f81fc6 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -72,7 +72,7 @@
#include "managers/WelcomeManager.hpp"
#include "render/AsyncResourceGatherer.hpp"
#include "plugins/PluginSystem.hpp"
-#include "hyprerror/HyprError.hpp"
+#include "errorOverlay/Overlay.hpp"
#include "notification/NotificationOverlay.hpp"
#include "debug/Overlay.hpp"
#include "helpers/MonitorFrameScheduler.hpp"
@@ -600,7 +600,7 @@ void CCompositor::cleanup() {
Render::g_pShaderLoader.reset();
Config::mgr().reset();
g_layoutManager.reset();
- g_pHyprError.reset();
+ ErrorOverlay::overlay().reset();
g_pKeybindManager.reset();
g_pXWaylandManager.reset();
g_pPointerManager.reset();
@@ -643,8 +643,8 @@ void CCompositor::initManagers(eManagersInitStage stage) {
if (!Config::initConfigManager())
exit(1);
- Log::logger->log(Log::DEBUG, "Creating the CHyprError!");
- g_pHyprError = makeUnique<CHyprError>();
+ Log::logger->log(Log::DEBUG, "Creating the Error Overlay!");
+ ErrorOverlay::overlay();
Log::logger->log(Log::DEBUG, "Creating the LayoutManager!");
g_layoutManager = makeUnique<Layout::CLayoutManager>();