From c8c0af300dde117a839f2d5d6b777694d7f118e9 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Mon, 28 Apr 2025 14:11:28 -0400 Subject: Minor restructure and dependency updates Signed-off-by: Andrew Opalach --- src/fruits/cmv/cmv.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/fruits/cmv') diff --git a/src/fruits/cmv/cmv.c b/src/fruits/cmv/cmv.c index 7fc6baa..2dda139 100644 --- a/src/fruits/cmv/cmv.c +++ b/src/fruits/cmv/cmv.c @@ -4,9 +4,9 @@ #include #include "../../util/color_palette.h" -#include "../../sink/desktop.h" -#include "../../server/common.h" #include "../../codec/ffmpeg/common.h" +#include "../../libsink/desktop.h" +#include "../../server/common.h" #ifndef CAMU_SINK_ONLY #include "../../server/server.h" #endif @@ -167,7 +167,7 @@ s32 window_system_main(u32 argc, str *argv, void *extra) } #endif - if (!camu_desktop_init(&c.desktop, "cmv")) { + if (!camu_desktop_open(&c.desktop, "cmv")) { return EXIT_FAILURE; } #ifndef CAMU_SINK_ONLY @@ -176,7 +176,8 @@ s32 window_system_main(u32 argc, str *argv, void *extra) c.desktop.userdata = &c; } #endif - if (!camu_desktop_connect(&c.desktop, &c.loop, type, &addr, CAMU_PORT)) { + str *name = local ? &al_str_c("local") : &al_str_c("desktop"); + if (!camu_desktop_connect(&c.desktop, name, &c.loop, type, &addr, CAMU_PORT)) { return EXIT_FAILURE; } -- cgit v1.2.3-101-g0448