enable single_pixel_buffer_v1

This commit is contained in:
Vaxry 2023-02-16 12:55:46 +00:00
parent 3fbef25ffc
commit d710e7347a

View file

@ -6,6 +6,8 @@
#include <systemd/sd-daemon.h> // for sd_notify
#endif
#include <wlr/types/wlr_single_pixel_buffer_v1.h>
int handleCritSignal(int signo, void* data) {
Debug::log(LOG, "Hyprland received signal %d", signo);
@ -197,6 +199,8 @@ CCompositor::CCompositor() {
throw std::runtime_error("wlr_headless_backend_create() failed!");
}
wlr_single_pixel_buffer_manager_v1_create(m_sWLDisplay);
wlr_multi_backend_add(m_sWLRBackend, m_sWLRHeadlessBackend);
}