Skip to content
Commit e58452d6 authored by Philipp Zabel's avatar Philipp Zabel Committed by Derek Foreman
Browse files

backend-rdp: extract weston_output_set_single_mode()



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

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

Fixes #758

Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 43cc77d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment