mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-09 02:25:59 +01:00
do not call dmabuf_create twice
This commit is contained in:
parent
c2db3ad8ce
commit
217ff1f401
1 changed files with 0 additions and 4 deletions
|
@ -88,7 +88,6 @@ CCompositor::CCompositor() {
|
||||||
m_sWLRSubCompositor = wlr_subcompositor_create(m_sWLDisplay);
|
m_sWLRSubCompositor = wlr_subcompositor_create(m_sWLDisplay);
|
||||||
m_sWLRDataDevMgr = wlr_data_device_manager_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_export_dmabuf_manager_v1_create(m_sWLDisplay);
|
||||||
wlr_screencopy_manager_v1_create(m_sWLDisplay);
|
wlr_screencopy_manager_v1_create(m_sWLDisplay);
|
||||||
wlr_data_control_manager_v1_create(m_sWLDisplay);
|
wlr_data_control_manager_v1_create(m_sWLDisplay);
|
||||||
|
@ -272,9 +271,6 @@ void CCompositor::startCompositor() {
|
||||||
|
|
||||||
initAllSignals();
|
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);
|
m_szWLDisplaySocket = wl_display_add_socket_auto(m_sWLDisplay);
|
||||||
|
|
||||||
if (!m_szWLDisplaySocket) {
|
if (!m_szWLDisplaySocket) {
|
||||||
|
|
Loading…
Reference in a new issue