mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-14 19:45:45 -07:00
do not call dmabuf_create twice
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user