output_configuration: Allow setting xwayland primary output

This commit is contained in:
Victoria Brekenfeld 2025-04-09 20:10:13 +02:00 • committed by Victoria Brekenfeld
parent 2e7d051816
commit 2a3bd84e22
4 changed files with 46 additions and 2 deletions

View file

@ -652,9 +652,12 @@ impl Common {
if let Some(xwm) = xstate.xwm.as_mut() {
if let Err(err) = xwm.set_randr_primary_output(xwayland_primary_output.as_ref()) {
warn!("Failed to set xwayland primary output: {}", err);
return;
};
}
}
self.output_configuration_state.update();
}
}