-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--show-touches does not turn off automatically #183
Comments
It should be turned off automatically if scrcpy is properly closed while the device is still connected. Otherwise, it can't. 😞 |
Oh, you're right, there is a problem. |
The current_process field of struct installer was not initialized. Since the installer instance is static, its default value was 0. The call to installer_stop() then called kill(0, SIGTERM) (on Linux), which sent SIGTERM to every process in the process group. In particular, the scrcpy process was killed. As a consequence, the last cleanup steps, like disabling "show touches", were not executed. Fixes <#183>.
Fixed on Thank you for the report 👍 |
- Fix missing initialization that leaded to kill the whole process - group on quit (Genymobile#182, Genymobile#183) - Support holding Ctrl+Key shortcuts (Genymobile#166) - Forward repeated volume events - Increase "adb forward" connections attempts to 10 seconds (Genymobile#213) - Add crop feature
Why not? Doesn't the device run the server? Also, what is "properly closed"? There is no quit command… |
It closes as soon as We could keep it alive (see #679), but not done yet.
Close the window. |
Thanks for your response, @rom1v! |
After
scrcpy
is closed, the option remains enabled on the smartphone.Ubuntu Linux, Xiomi Redmi 4 Pro (Android 6)
The text was updated successfully, but these errors were encountered: