mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-25 17:49:48 +01:00
ye
This commit is contained in:
parent
fe0d464a9c
commit
9c7c9a47f3
1 changed files with 1 additions and 1 deletions
|
@ -1398,7 +1398,7 @@ std::string dispatchOutput(eHyprCtlOutputFormat format, std::string request) {
|
||||||
if (g_pCompositor->getMonitorFromName(vars[3]))
|
if (g_pCompositor->getMonitorFromName(vars[3]))
|
||||||
return "A real monitor already uses that name.";
|
return "A real monitor already uses that name.";
|
||||||
|
|
||||||
for (auto& impl : g_pCompositor->m_pAqBackend->getImplementations()) {
|
for (auto& impl : g_pCompositor->m_pAqBackend->getImplementations() | std::views::reverse) {
|
||||||
auto type = impl->type();
|
auto type = impl->type();
|
||||||
|
|
||||||
if (type == Aquamarine::AQ_BACKEND_HEADLESS && (vars[2] == "headless" || vars[2] == "auto")) {
|
if (type == Aquamarine::AQ_BACKEND_HEADLESS && (vars[2] == "headless" || vars[2] == "auto")) {
|
||||||
|
|
Loading…
Reference in a new issue