inclement / vivarium

A dynamic tiling Wayland compositor using wlroots
GNU General Public License v3.0
367 stars 13 forks source link

The view target box isn't a good log of view position #95

Open inclement opened 2 years ago

inclement commented 2 years ago

The current target box information in each view stores its expected bounds, but this doesn't work well for floating views.

We should probably instead/additionally store the target view box in output-relative coords (i.e. 0-1 on each axis), which can then be used to reposition/resize it appropriately when the output is changed.

This needs more thought, but right now floating views are probably not treated correctly on workspace rearrange with multiple outputs.