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 <yj1231.heo@samsung.com>
This commit is contained in:
yj1231.heo 2021-06-07 13:53:28 +09:00 committed by YJ Heo
parent d259bbeccd
commit ec0b717d77
2 changed files with 6 additions and 1 deletions

View File

@ -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;
}

View File

@ -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