kms: lock during screen conf changes
This commit is contained in:
parent
bb7a6a7113
commit
e34a289c01
10 changed files with 747 additions and 382 deletions
|
|
@ -505,6 +505,7 @@ impl Config {
|
|||
found_outputs.push((output.clone(), enabled));
|
||||
}
|
||||
|
||||
let mut backend = backend.lock();
|
||||
if let Err(err) = backend.apply_config_for_outputs(
|
||||
false,
|
||||
loop_handle,
|
||||
|
|
@ -580,7 +581,7 @@ impl Config {
|
|||
w += output.geometry().size.w as u32;
|
||||
}
|
||||
|
||||
if let Err(err) = backend.apply_config_for_outputs(
|
||||
if let Err(err) = backend.lock().apply_config_for_outputs(
|
||||
false,
|
||||
loop_handle,
|
||||
self.dynamic_conf.screen_filter(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue