xwayland: store and restore primary output
This commit is contained in:
parent
7472351de0
commit
aeed8f256f
3 changed files with 43 additions and 1 deletions
|
|
@ -382,7 +382,10 @@ impl BackendData {
|
|||
// Update layout for changes in resolution, scale, orientation
|
||||
shell.workspaces.recalculate();
|
||||
|
||||
loop_handle.insert_idle(|state| state.common.update_xwayland_scale());
|
||||
loop_handle.insert_idle(move |state| {
|
||||
state.common.update_xwayland_scale();
|
||||
state.common.update_xwayland_primary_output();
|
||||
});
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue