scrcpy/app
Romain Vimont 882003f314 Fix segfault on SDL event without window
Since #5804, controls have been enabled even with --no-window. As a
result, the Android clipboard is synchronized with the computer, causing
SDL to trigger an SDL_CLIPBOARDUPDATE event.

This event is ignored by scrcpy, but it was still transmitted to the
sc_screen instance, even if it had not been initialized.

Fix the issue by calling sc_screen_handle_event() only when a screen
instance exists.

Refs #5804 <https://github.com/Genymobile/scrcpy/pull/5804>
Fixes #5970 <https://github.com/Genymobile/scrcpy/issues/5970>
2025-04-03 08:15:55 +02:00
..
data Add more audio sources 2025-03-29 14:54:35 +01:00
deps Upgrade FFmpeg (7.1.1) 2025-03-29 15:34:48 +01:00
src Fix segfault on SDL event without window 2025-04-03 08:15:55 +02:00
tests Handle audio stream discontinuities 2025-03-29 14:54:35 +01:00
meson.build Set icon and server env paths for meson devenv 2024-12-12 18:15:26 +01:00
scrcpy-windows.manifest Set DPI awareness for Windows 2021-12-20 19:13:02 +01:00
scrcpy-windows.rc Bump version to 3.2 2025-03-29 15:45:28 +01:00
scrcpy.1 Merge branch 'master' into release 2025-03-29 15:44:29 +01:00