Skip to content

Introduce struct wlr_output_commit

Instead of tracking presentations across multiple commits with a confusing commit_seq incrementing integer, return a new struct wlr_output_commit when a commit happens that lets us add a present listener individually for that commit.

breaking

  • wlr_output_commit{,_state} returns a struct wlr_output_commit.
  • wlr_output.events.present is removed.
  • wlr_output.commit_seq is removed.
  • wlr_output_send_present is removed.
  • Backends' commit handler needs to return a struct wlr_output_commit if successful.

Closes: #3717

Edited by Alexander Orzechowski

Merge request reports