mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-05 07:45:58 +01:00
add drm backend to requests
This commit is contained in:
parent
930e7bb0c8
commit
484caf3b1c
1 changed files with 7 additions and 4 deletions
|
@ -226,10 +226,13 @@ void CCompositor::initServer() {
|
||||||
options.logFunction = aqLog;
|
options.logFunction = aqLog;
|
||||||
|
|
||||||
std::vector<Aquamarine::SBackendImplementationOptions> implementations;
|
std::vector<Aquamarine::SBackendImplementationOptions> implementations;
|
||||||
Aquamarine::SBackendImplementationOptions waylandOptions;
|
Aquamarine::SBackendImplementationOptions option;
|
||||||
waylandOptions.backendType = Aquamarine::eBackendType::AQ_BACKEND_WAYLAND;
|
option.backendType = Aquamarine::eBackendType::AQ_BACKEND_DRM;
|
||||||
waylandOptions.backendRequestMode = Aquamarine::eBackendRequestMode::AQ_BACKEND_REQUEST_IF_AVAILABLE;
|
option.backendRequestMode = Aquamarine::eBackendRequestMode::AQ_BACKEND_REQUEST_IF_AVAILABLE;
|
||||||
implementations.emplace_back(waylandOptions);
|
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);
|
m_pAqBackend = CBackend::create(implementations, options);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue