output_configuration: Allow setting xwayland primary output
This commit is contained in:
parent
2e7d051816
commit
2a3bd84e22
4 changed files with 46 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue