From 217ff1f4011336e51bc65bd98fd7b931547ac45c Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sat, 30 Jul 2022 23:45:27 +0200 Subject: [PATCH] do not call dmabuf_create twice --- src/Compositor.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 8cde125f..a82bbd1c 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -88,7 +88,6 @@ CCompositor::CCompositor() { m_sWLRSubCompositor = wlr_subcompositor_create(m_sWLDisplay); m_sWLRDataDevMgr = wlr_data_device_manager_create(m_sWLDisplay); - m_sWLRDmabuf = wlr_linux_dmabuf_v1_create(m_sWLDisplay, m_sWLRRenderer); wlr_export_dmabuf_manager_v1_create(m_sWLDisplay); wlr_screencopy_manager_v1_create(m_sWLDisplay); wlr_data_control_manager_v1_create(m_sWLDisplay); @@ -272,9 +271,6 @@ void CCompositor::startCompositor() { initAllSignals(); - // Set XDG_CURRENT_DESKTOP to our compositor's name - setenv("XDG_CURRENT_DESKTOP", "hyprland", true); - m_szWLDisplaySocket = wl_display_add_socket_auto(m_sWLDisplay); if (!m_szWLDisplaySocket) {