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

@ -446,8 +446,7 @@ impl JayRandrRequestHandler for JayRandr {
let Some(c) = self.get_output_node(req.output) else {
return Ok(());
};
c.global.persistent.tearing_mode.set(mode);
c.update_presentation_type();
c.set_tearing_mode(mode);
return Ok(());
}