mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 08:45:58 +01:00
enable single_pixel_buffer_v1
This commit is contained in:
parent
3fbef25ffc
commit
d710e7347a
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue