deps: update wlroots

drops requirement for WLR_DRM_NO_ATOMIC provided kernel >= 6.8
This commit is contained in:
Vaxry
2024-01-27 13:58:13 +00:00
parent 12d79d6342
commit 7b3d039388
11 changed files with 93 additions and 84 deletions

View File

@@ -1852,11 +1852,11 @@ void CKeybindManager::dpms(std::string arg) {
if (!port.empty() && m->szName != port)
continue;
wlr_output_enable(m->output, enable);
wlr_output_state_set_enabled(&m->outputState, enable);
m->dpmsStatus = enable;
if (!wlr_output_commit(m->output)) {
if (!wlr_output_commit_state(m->output, &m->outputState)) {
Debug::log(ERR, "Couldn't commit output {}", m->szName);
}