Skip to content

output: re-introduce atomic mode, enabled, scale and transform

Simon Ser requested to merge github/fork/emersion/output-atomic into master

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 after wlr_output_enable, wlr_output_set_mode, wlr_output_set_custom_mode, wlr_output_set_transform or wlr_output_set_scale
  • wlr_output_set_mode no longer implicitly enables the output, compositors need to call wlr_output_enable as well
  • Compositors now need to call wlr_output_rollback after wlr_output_attach_render if they decide not to render

Merge request reports