diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2020-09-18 20:38:07 +0300 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2020-09-30 13:43:12 +0000 |
commit | 17d86f9b8afa69a8461456ac1a02515d20611f07 (patch) | |
tree | 37f4c2c894a439e64137b489d75d35fc67d23610 | |
parent | 3ba840cd3a5a2fa1966b01ef286de0347e64aa46 (diff) |
main: Enable screenshoter interface when debug option is passed
Bug-AGL: SPEC-3580
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I9adf8c707991301f5cf214b492ce3c6ee45997e2
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1501,7 +1501,8 @@ int main(int argc, char *argv[]) ivi_shell_create_global(&ivi); ivi_launch_shell_client(&ivi); - ivi_screenshooter_create(&ivi); + if (debug) + ivi_screenshooter_create(&ivi); ivi_agl_systemd_notify(&ivi); wl_display_run(display); |