output: re-introduce atomic mode, enabled, scale and transform
This reverts commit 01f90387 and re-applies commit ee5f98ad.
Updates: https://github.com/swaywm/wlroots/issues/1640 (Atomic output updates issue) See also: https://github.com/swaywm/wlroots/pull/1762 (Atomic output updates original PR) See also: https://github.com/swaywm/wlroots/issues/1780 (Issue caused by atomic output updates) See also: https://github.com/swaywm/sway/issues/4419 (Issue caused by atomic output updates) See also: https://github.com/swaywm/wlroots/pull/1781 (Revert PR)
Sway PR: https://github.com/swaywm/sway/pull/4845
Breaking changes:
- Compositors now need to call
wlr_output_commit
afterwlr_output_enable
,wlr_output_set_mode
,wlr_output_set_custom_mode
,wlr_output_set_transform
orwlr_output_set_scale
-
wlr_output_set_mode
no longer implicitly enables the output, compositors need to callwlr_output_enable
as well - Compositors now need to call
wlr_output_rollback
afterwlr_output_attach_render
if they decide not to render