Display and control your Android device
Disable "show touches" once window is closed
Romain Vimontdd2a5c1ecf3f
diff --git a/app/src/scrcpy.c b/app/src/scrcpy.cindex 6436afc7..eefb9a05 100644--- a/app/src/scrcpy.c+++ b/app/src/scrcpy.c@@ -190,12 +190,12 @@ SDL_bool scrcpy(const struct scrcpy_options *options) {event_loop();LOGD("quit...");+ screen_destroy(&screen);+if (options->show_touches) {LOGI("Disable show_touches");set_show_touches_enabled(options->serial, SDL_FALSE);}-- screen_destroy(&screen);finally_stop_and_join_controller:controller_stop(&controller);controller_join(&controller);