ivi-shell: add screenshot capability
Various shells provide the functionality to take screenshots using the weston-screenshooter or a key combination. This is useful on the ivi-shell, too. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
This commit is contained in:
parent
6bcfc43a88
commit
a8e93ed90f
@ -374,7 +374,7 @@ if get_option('shell-desktop')
|
||||
env_modmap += 'weston-desktop-shell=@0@;'.format(exe_shell_desktop.full_path())
|
||||
endif
|
||||
|
||||
if get_option('shell-desktop') or get_option('shell-fullscreen') or get_option('shell-kiosk')
|
||||
if get_option('shell-desktop') or get_option('shell-fullscreen') or get_option('shell-kiosk') or get_option('shell-ivi')
|
||||
exe_shooter = executable(
|
||||
'weston-screenshooter',
|
||||
'screenshot.c',
|
||||
|
@ -722,6 +722,9 @@ wet_shell_init(struct weston_compositor *compositor,
|
||||
goto err_desktop;
|
||||
|
||||
ivi_layout_init_with_compositor(compositor);
|
||||
|
||||
screenshooter_create(compositor);
|
||||
|
||||
shell_add_bindings(compositor, shell);
|
||||
|
||||
return IVI_SUCCEEDED;
|
||||
|
Loading…
Reference in New Issue
Block a user