output: Introduce wlr_output_state to wlr_output_init
Based on: !4237 (merged)
This MR has multiple improvements. See commits. Overview:
- backends can now send a
wlr_output_state
towlr_output_init
to initialize the state of the output. -
breaking
wlr_output_update_{custom,}_mode
andwlr_output_update_enabled
are removed. Backends that need to change state during runtime should usewlr_output_send_request_state
and should send appropriate initialization state towlr_output_init
usingwlr_output_state
at init.
Edited by Alexander Orzechowski