mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-25 06:49:49 +01:00
add drm backend to requests
This commit is contained in:
parent
d93791e25d
commit
ac78133b4c
1 changed files with 7 additions and 4 deletions
|
@ -227,10 +227,13 @@ void CCompositor::initServer() {
|
|||
options.logFunction = aqLog;
|
||||
|
||||
std::vector<Aquamarine::SBackendImplementationOptions> implementations;
|
||||
Aquamarine::SBackendImplementationOptions waylandOptions;
|
||||
waylandOptions.backendType = Aquamarine::eBackendType::AQ_BACKEND_WAYLAND;
|
||||
waylandOptions.backendRequestMode = Aquamarine::eBackendRequestMode::AQ_BACKEND_REQUEST_IF_AVAILABLE;
|
||||
implementations.emplace_back(waylandOptions);
|
||||
Aquamarine::SBackendImplementationOptions option;
|
||||
option.backendType = Aquamarine::eBackendType::AQ_BACKEND_DRM;
|
||||
option.backendRequestMode = Aquamarine::eBackendRequestMode::AQ_BACKEND_REQUEST_IF_AVAILABLE;
|
||||
implementations.emplace_back(option);
|
||||
option.backendType = Aquamarine::eBackendType::AQ_BACKEND_WAYLAND;
|
||||
option.backendRequestMode = Aquamarine::eBackendRequestMode::AQ_BACKEND_REQUEST_FALLBACK;
|
||||
implementations.emplace_back(option);
|
||||
|
||||
m_pAqBackend = CBackend::create(implementations, options);
|
||||
|
||||
|
|
Loading…
Reference in a new issue