Files
scrcpy/app/src
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
..
2024-12-23 12:19:47 +01:00
2024-08-05 16:13:02 +02:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2025-03-29 14:54:35 +01:00
2024-09-23 23:59:08 +02:00
2024-12-23 12:19:47 +01:00
2025-03-29 14:54:35 +01:00
2024-06-23 19:15:45 +02:00
2024-09-12 11:06:13 +02:00
2023-03-30 20:58:33 +02:00
2023-03-03 01:18:10 +01:00
2023-03-10 22:22:15 +01:00
2024-09-14 14:42:00 +02:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-03-01 00:52:00 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-10-12 15:57:24 +02:00
2024-12-23 12:19:47 +01:00
2023-03-10 22:22:15 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-10-07 16:54:15 +02:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2025-02-22 11:05:22 +01:00
2025-03-29 14:54:35 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2025-03-29 14:54:35 +01:00
2025-02-22 11:05:22 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00
2024-12-23 12:19:47 +01:00