From ec0b717d77bfbcd6ffa007ae32295aad3eea5d7a Mon Sep 17 00:00:00 2001 From: "yj1231.heo" Date: Mon, 7 Jun 2021 13:53:28 +0900 Subject: [PATCH] fullscreen-shell : fullscreen-shell doesn't support the screenshooter wet_shell_init() of fulscreen-shell has been missing to create a screenshooter. . adding a screenshooter_create() on wel_shell_init() for fullscreen-shell. . adding a dep_libexe_weston to meson.build to use the screenshooter Signed-off-by: yj1231.heo --- fullscreen-shell/fullscreen-shell.c | 1 + fullscreen-shell/meson.build | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/fullscreen-shell/fullscreen-shell.c b/fullscreen-shell/fullscreen-shell.c index 17b25a3c..6975f65e 100644 --- a/fullscreen-shell/fullscreen-shell.c +++ b/fullscreen-shell/fullscreen-shell.c @@ -937,5 +937,6 @@ wet_shell_init(struct weston_compositor *compositor, &zwp_fullscreen_shell_v1_interface, 1, shell, bind_fullscreen_shell); + screenshooter_create(compositor); return 0; } diff --git a/fullscreen-shell/meson.build b/fullscreen-shell/meson.build index bde06db5..02a6c6f1 100644 --- a/fullscreen-shell/meson.build +++ b/fullscreen-shell/meson.build @@ -4,11 +4,15 @@ if get_option('shell-fullscreen') fullscreen_shell_unstable_v1_server_protocol_h, fullscreen_shell_unstable_v1_protocol_c, ] + deps_shell_fullscreen=[ + dep_libweston_public, + dep_libexec_weston, + ] shared_library( 'fullscreen-shell', srcs_shell_fullscreen, include_directories: common_inc, - dependencies: dep_libweston_public, + dependencies: deps_shell_fullscreen, name_prefix: '', install: true, install_dir: dir_module_weston