Skip to content

Extract weston_output_set_single_mode() from RDP, to share with VNC

Philipp Zabel requested to merge pH5/weston:weston-output-set-single-mode into main

The ensure_single_mode() helper in the RDP backend replaces an output's single mode. Extract it into libweston so it can be reused by the VNC backend, renamed to weston_output_set_single_mode().

At the same time, set the the previously missing WL_OUTPUT_MODE_CURRENT flag on the new mode.

Split out of !1051 (merged), which depends on a Neat VNC release. Fixes #758 (closed).

Edited by Philipp Zabel

Merge request reports