diff --git a/src/Compositor.cpp b/src/Compositor.cpp index e70650d1f..3c7b8ccbe 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -147,10 +147,10 @@ CCompositor::CCompositor() { m_sWLRToplevelMgr = wlr_foreign_toplevel_manager_v1_create(m_sWLDisplay); m_sWRLDRMLeaseMgr = wlr_drm_lease_v1_manager_create(m_sWLDisplay, m_sWLRBackend); - if (!m_sWRLDRMLeaseMgr) { - Debug::log(CRIT, "Failed to create wlr_drm_lease_v1_manager"); + if (!m_sWRLDRMLeaseMgr) { + Debug::log(INFO, "Failed to create wlr_drm_lease_v1_manager"); Debug::log(INFO, "VR will not be available"); - } + } m_sWLRTabletManager = wlr_tablet_v2_create(m_sWLDisplay); diff --git a/src/events/Misc.cpp b/src/events/Misc.cpp index 4e2f532c8..f952bec2d 100644 --- a/src/events/Misc.cpp +++ b/src/events/Misc.cpp @@ -27,11 +27,11 @@ void Events::listener_outputMgrTest(wl_listener* listener, void* data) { void Events::listener_leaseRequest(wl_listener* listener, void* data) { const auto REQUEST = (wlr_drm_lease_request_v1*)data; - struct wlr_drm_lease_v1* lease = wlr_drm_lease_request_v1_grant(REQUEST); - if (!lease) { + struct wlr_drm_lease_v1* lease = wlr_drm_lease_request_v1_grant(REQUEST); + if (!lease) { Debug::log(ERR, "Failed to grant lease request!"); - wlr_drm_lease_request_v1_reject(REQUEST); - } + wlr_drm_lease_request_v1_reject(REQUEST); + } } void Events::listener_requestSetPrimarySel(wl_listener* listener, void* data) {