mirror of
https://github.com/swaywm/sway.git
synced 2025-11-13 13:29:49 -05:00
Fix wrong output container coordinates
This commit is contained in:
parent
deb63eda88
commit
f3ef1da750
2 changed files with 10 additions and 7 deletions
|
|
@ -160,8 +160,11 @@ struct sway_container *container_output_create(
|
|||
return NULL;
|
||||
}
|
||||
|
||||
apply_output_config(oc, output);
|
||||
// Insert the child before applying config so that the container coordinates
|
||||
// get updated
|
||||
container_add_child(&root_container, output);
|
||||
apply_output_config(oc, output);
|
||||
|
||||
load_swaybars();
|
||||
|
||||
// Create workspace
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue