1
0
Fork 0
forked from wry/wry

head-management: add jay-tearing-mode-info-v1 extension

This commit is contained in:
Julian Orth 2025-07-14 15:00:56 +02:00
parent 3e2707174e
commit a7f8a26df7
11 changed files with 107 additions and 11 deletions

View file

@ -1413,8 +1413,7 @@ impl ConfigProxyHandler {
match connector {
Some(c) => {
let connector = self.get_output_node(c)?;
connector.global.persistent.tearing_mode.set(mode);
connector.update_presentation_type();
connector.set_tearing_mode(mode);
}
_ => self.state.default_tearing_mode.set(mode),
}