scrcpy/app/src/util
Romain Vimont 59af4b4a03 Display disconnected icon before closing
When the connection to the device is lost while mirroring, the window
closed immediately, suggesting scrcpy had crashed.

To make it clear that a disconnection occurred, display a disconnected
icon for 2 seconds before closing the window.
2026-02-22 11:19:20 +01:00
..
acksync.c Cleanup includes 2024-12-23 12:19:47 +01:00
acksync.h Cleanup includes 2024-12-23 12:19:47 +01:00
audiobuf.c Handle audio stream discontinuities 2025-03-29 14:54:35 +01:00
audiobuf.h Handle audio stream discontinuities 2025-03-29 14:54:35 +01:00
average.c Add audio player 2023-03-10 22:22:15 +01:00
average.h Cleanup includes 2024-12-23 12:19:47 +01:00
binary.h Cleanup includes 2024-12-23 12:19:47 +01:00
command.c Add utility to serialize windows arguments 2026-02-12 20:00:39 +01:00
command.h Add utility to serialize windows arguments 2026-02-12 20:00:39 +01:00
env.c Cleanup includes 2024-12-23 12:19:47 +01:00
env.h Expose sc_get_env() to read environment variable 2024-12-02 18:23:18 +01:00
file.c Extract function to build file paths 2026-02-22 10:00:40 +01:00
file.h Extract function to build file paths 2026-02-22 10:00:40 +01:00
intmap.c Use static maps to convert input events 2021-11-29 21:15:07 +01:00
intmap.h Cleanup includes 2024-12-23 12:19:47 +01:00
intr.c Cleanup includes 2024-12-23 12:19:47 +01:00
intr.h Cleanup includes 2024-12-23 12:19:47 +01:00
log.c Set Windows console code page to UTF-8 2026-02-10 08:27:22 +01:00
log.h Migrate from SDL2 to SDL3 2026-01-06 16:22:48 +01:00
memory.c Add sc_allocarray() util 2023-03-10 22:22:15 +01:00
memory.h Add sc_allocarray() util 2023-03-10 22:22:15 +01:00
net.c Add missing includes 2025-07-17 18:23:12 +02:00
net.h Cleanup includes 2024-12-23 12:19:47 +01:00
net_intr.c Rename net_listen() parameter 2022-08-17 16:40:45 +02:00
net_intr.h Cleanup includes 2024-12-23 12:19:47 +01:00
process.c Cleanup includes 2024-12-23 12:19:47 +01:00
process.h Cleanup includes 2024-12-23 12:19:47 +01:00
process_intr.c Fix pipe read return value 2024-12-20 20:57:20 +01:00
process_intr.h Cleanup includes 2024-12-23 12:19:47 +01:00
rand.c Add random util 2023-01-27 19:26:19 +01:00
rand.h Add random util 2023-01-27 19:26:19 +01:00
sdl.c Use render output size to compute content location 2026-02-09 18:33:35 +01:00
sdl.h Use render output size to compute content location 2026-02-09 18:33:35 +01:00
str.c Remove sc_str_quote() 2026-02-12 20:00:59 +01:00
str.h Remove sc_str_quote() 2026-02-12 20:00:59 +01:00
strbuf.c Cleanup includes 2024-12-23 12:19:47 +01:00
strbuf.h Add string buffer util 2021-11-11 14:55:52 +01:00
term.c Add util function to get terminal size 2021-11-11 15:22:39 +01:00
term.h Add util function to get terminal size 2021-11-11 15:22:39 +01:00
thread.c Migrate from SDL2 to SDL3 2026-01-06 16:22:48 +01:00
thread.h Migrate from SDL2 to SDL3 2026-01-06 16:22:48 +01:00
tick.c Cleanup includes 2024-12-23 12:19:47 +01:00
tick.h Display disconnected icon before closing 2026-02-22 11:19:20 +01:00
timeout.c Cleanup includes 2024-12-23 12:19:47 +01:00
timeout.h Cleanup includes 2024-12-23 12:19:47 +01:00
vecdeque.h Fix style for 80-char limit 2025-07-17 13:20:45 +02:00
vector.h Cleanup includes 2024-12-23 12:19:47 +01:00