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>
dev
yj1231.heo 4 years ago committed by YJ Heo
parent d259bbeccd
commit ec0b717d77
  1. 1
      fullscreen-shell/fullscreen-shell.c
  2. 6
      fullscreen-shell/meson.build

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

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

Loading…
Cancel
Save