kms: Wipe dpms state on resume

This commit is contained in:
Victoria Brekenfeld 2026-04-22 12:53:33 +02:00 committed by Jacob Kauffmann
parent 12a42e239d
commit 9b89a1cc77
2 changed files with 4 additions and 0 deletions

View file

@ -5,6 +5,7 @@ use crate::{
shell::Shell,
state::BackendData,
utils::{env::dev_var, prelude::*},
wayland::protocols::output_power::OutputPowerState,
};
use anyhow::{Context, Result};
@ -413,6 +414,8 @@ impl State {
}
}
}
OutputPowerState::refresh(state);
state.common.refresh();
});
loop_signal.wakeup();