summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index d77cbc7..afe114b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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);