Skip to content
Commit 78818c6d authored by Philipp Zabel's avatar Philipp Zabel
Browse files

backend-vnc: pass vnc_backend to vnc_head_create()



Pass the VNC backend to vnc_head_create().

That way the already known backend will not have to be found from the
compositor. This is trivial now, but in the multi-backend case would
entail iterating over all backends to find the correct one.

Also remove the now unused to_vnc_backend() helper.

Signed-off-by: Philipp Zabel's avatarPhilipp Zabel <philipp.zabel@gmail.com>
parent 0a1d77a7
Loading
Loading
Loading
Pipeline #859001 passed with stages
in 2 minutes and 1 second
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