Genymobile-scrcpy/app/src
Romain Vimont 523c820bfa Avoid double-rendering on resize
On Windows and macOS, resizing the window with the mouse blocks the
event loop until the click is released. To keep rendering during
resizing, an event watcher is registered to handle resize events.

Avoid handling resize events twice by ensuring
`SDL_EVENT_WINDOW_PIXEL_SIZE_CHANGED` is processed only once.

PR #6758 <https://github.com/Genymobile/scrcpy/pull/6758>
2026-04-10 19:27:13 +02:00
..
adb Detect TCP devices provided by mDNS 2026-02-12 20:08:46 +01:00
android Fix typos 2024-08-05 16:13:02 +02:00
hid Migrate from SDL2 to SDL3 2026-01-06 16:22:48 +01:00
sys Use proper argument serialization for Windows 2026-02-12 20:00:59 +01:00
trait Fix segfault on rotation while recording 2026-02-21 10:45:12 +01:00
uhid Migrate from SDL2 to SDL3 2026-01-06 16:22:48 +01:00
usb Rename "hole" to "uninitialized" in vector APIs 2026-03-17 20:46:40 +01:00
util Rename "hole" to "uninitialized" in vector APIs 2026-03-17 20:46:40 +01:00
audio_player.c Do not attempt to increase audio thread priority 2026-01-17 21:30:19 +01:00
audio_player.h Migrate from SDL2 to SDL3 2026-01-06 16:22:48 +01:00
audio_regulator.c Handle audio stream discontinuities 2025-03-29 14:54:35 +01:00
audio_regulator.h Handle audio stream discontinuities 2025-03-29 14:54:35 +01:00
cli.c Add option to force size alignment 2026-04-07 19:47:11 +02:00
cli.h Keep Windows terminal open on error 2026-02-21 12:17:31 +01:00
clock.c Improve delay buffer startup 2024-09-12 11:06:13 +02:00
clock.h Simplify clock estimation 2023-03-30 20:58:33 +02:00
common.h Fix MIN/MAX macros 2023-03-03 01:18:10 +01:00
compat.c Add compat for reallocarray() 2023-03-10 22:22:15 +01:00
compat.h Migrate from SDL2 to SDL3 2026-01-06 16:22:48 +01:00
control_msg.c Add shortcuts to change the camera zoom 2026-01-13 20:40:58 +01:00
control_msg.h Add shortcuts to change the camera zoom 2026-01-13 20:40:58 +01:00
controller.c Introduce non-droppable control messages 2024-09-15 11:21:56 +02:00
controller.h Do not report error on device disconnected 2024-07-06 00:04:07 +02:00
coords.h Use sc_ prefix for size, position and point 2021-10-30 15:20:39 +02:00
decoder.c Detect frame size mismatch in decoder 2026-01-10 11:53:22 +01:00
decoder.h Detect frame size mismatch in decoder 2026-01-10 11:53:22 +01:00
delay_buffer.c Rename "hole" to "uninitialized" in vector APIs 2026-03-17 20:46:40 +01:00
delay_buffer.h Properly handle session packets in delay_buffer 2026-01-10 11:53:22 +01:00
demuxer.c Add session metadata for the video stream 2026-01-10 11:53:22 +01:00
demuxer.h Cleanup includes 2024-12-23 12:19:47 +01:00
device_msg.c Fix UHID_OUTPUT message parsing 2025-10-09 09:35:14 +02:00
device_msg.h Cleanup includes 2024-12-23 12:19:47 +01:00
disconnect.c Display disconnected icon before closing 2026-03-17 18:40:35 +01:00
disconnect.h Display disconnected icon before closing 2026-03-17 18:40:35 +01:00
events.c Add utility to push an SDL event with data 2026-03-17 18:40:35 +01:00
events.h Display disconnected icon before closing 2026-03-17 18:40:35 +01:00
file_pusher.c Cleanup includes 2024-12-23 12:19:47 +01:00
file_pusher.h Use VecDeque in file_pusher 2023-03-10 22:22:15 +01:00
fps_counter.c Cleanup includes 2024-12-23 12:19:47 +01:00
fps_counter.h Cleanup includes 2024-12-23 12:19:47 +01:00
frame_buffer.c Cleanup includes 2024-12-23 12:19:47 +01:00
frame_buffer.h Cleanup includes 2024-12-23 12:19:47 +01:00
icon.c Add filename parameter to icon loading 2026-03-17 18:40:34 +01:00
icon.h Display disconnected icon before closing 2026-03-17 18:40:35 +01:00
input_events.h Migrate from SDL2 to SDL3 2026-01-06 16:22:48 +01:00
input_manager.c Fix device rotation shortcut 2026-04-03 21:35:26 +02:00
input_manager.h Display disconnected icon before closing 2026-03-17 18:40:35 +01:00
keyboard_sdk.c Cleanup includes 2024-12-23 12:19:47 +01:00
keyboard_sdk.h Rename default keyboard implementation to "sdk" 2024-03-01 00:51:41 +01:00
main.c Keep Windows terminal open on error 2026-02-21 12:17:31 +01:00
mouse_capture.c Remove obsolete workaround for macOS 2026-01-08 20:40:51 +01:00
mouse_capture.h Migrate from SDL2 to SDL3 2026-01-06 16:22:48 +01:00
mouse_sdk.c Extend value range for SDK mouse scrolling 2025-06-20 19:54:16 +02:00
mouse_sdk.h Cleanup includes 2024-12-23 12:19:47 +01:00
opengl.c Migrate from SDL2 to SDL3 2026-01-06 16:22:48 +01:00
opengl.h Migrate from SDL2 to SDL3 2026-01-06 16:22:48 +01:00
options.c Add option to force size alignment 2026-04-07 19:47:11 +02:00
options.h Add option to force size alignment 2026-04-07 19:47:11 +02:00
packet_merger.c Cleanup includes 2024-12-23 12:19:47 +01:00
packet_merger.h Cleanup includes 2024-12-23 12:19:47 +01:00
receiver.c Migrate from SDL2 to SDL3 2026-01-06 16:22:48 +01:00
receiver.h Do not report error on device disconnected 2024-07-06 00:04:07 +02:00
recorder.c Report recording error on write error 2026-02-05 18:27:05 +01:00
recorder.h Cleanup includes 2024-12-23 12:19:47 +01:00
scrcpy.c Move Ctrl+C handler configuration 2026-04-07 19:51:20 +02:00
scrcpy.h Cleanup includes 2024-12-23 12:19:47 +01:00
screen.c Avoid double-rendering on resize 2026-04-10 19:27:13 +02:00
screen.h Display disconnected icon before closing 2026-03-17 18:40:35 +01:00
server.c Add option to force size alignment 2026-04-07 19:47:11 +02:00
server.h Add option to force size alignment 2026-04-07 19:47:11 +02:00
shortcut_mod.h Migrate from SDL2 to SDL3 2026-01-06 16:22:48 +01:00
texture.c Add function to delete current texture 2026-03-17 18:40:35 +01:00
texture.h Add function to delete current texture 2026-03-17 18:40:35 +01:00
v4l2_sink.c Add session metadata for the video stream 2026-01-10 11:53:22 +01:00
v4l2_sink.h Cleanup includes 2024-12-23 12:19:47 +01:00
version.c Migrate from SDL2 to SDL3 2026-01-06 16:22:48 +01:00
version.h Move version handling to a separate file 2022-02-09 10:15:07 +01:00