diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-09-30 13:07:20 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-09-30 13:12:04 +0100 |
| commit | a05076a7ee885a7d9ddf986684002d81890fb1e0 (patch) | |
| tree | 3533aac12a050d26651f28cd4ab981425f7db9a3 /src/Compositor.cpp | |
| parent | b8f8912db260c9fbe42afdba59f30f9e9546eef4 (diff) | |
log: log wlr errors regardless of env
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 05875f62..7fa45b07 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -133,6 +133,8 @@ void CCompositor::initServer() { const auto LOGWLR = getenv("HYPRLAND_LOG_WLR"); if (LOGWLR && std::string(LOGWLR) == "1") wlr_log_init(WLR_DEBUG, Debug::wlrLog); + else + wlr_log_init(WLR_ERROR, Debug::wlrLog); m_sWLRBackend = wlr_backend_autocreate(m_sWLDisplay, &m_sWLRSession); |
