mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-10-02 16:18:31 +00:00
enable single_pixel_buffer_v1
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user