mirror of
https://github.com/swaywm/sway.git
synced 2026-04-17 06:46:32 -04:00
The modeset logic iterates over all outputs at the end, sets their new position in the layout and takes a copy of its geometry that is later referenced by layout and scene management code. If one output is auto configured, then a later output that is manually configured can lead to the first output being moved without the stored geometry being updated. Split this into two passes: The first pass finalizes the output config and makes updates to the layout, while the second pass updates the copy of the geometry and arranges things as a result of it. |
||
|---|---|---|
| .. | ||
| bar.c | ||
| input.c | ||
| output.c | ||
| seat.c | ||