diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2023-08-21 19:36:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-21 19:36:09 +0200 |
| commit | 37128bfd43a3d86d270c09e34f18fe4df48c6b35 (patch) | |
| tree | ade4b361562543679b7eaecbe27b5cd0415eef73 /src/Compositor.cpp | |
| parent | 17d8e4750bd79e0d18b5d0c9f578f23fa47552f4 (diff) | |
internal: Wayland Protocol impl improvements (#2944)
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 3d9623a2..d6cd019f 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -98,6 +98,9 @@ void CCompositor::initServer() { initManagers(STAGE_PRIORITY); + if (const auto ENV = getenv("HYPRLAND_TRACE"); ENV && std::string(ENV) == "1") + Debug::trace = true; + wlr_log_init(WLR_INFO, NULL); const auto LOGWLR = getenv("HYPRLAND_LOG_WLR"); |
