Files
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
..
2025-03-29 14:54:35 +01:00
2025-03-29 15:34:48 +01:00
2025-03-29 14:54:35 +01:00
2025-03-29 15:45:28 +01:00
2025-03-29 15:44:29 +01:00