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.
This commit is contained in:
Romain Vimont
2026-02-05 09:21:21 +01:00
parent 1a43012cca
commit cfa06c8b5b
11 changed files with 283 additions and 15 deletions

BIN
app/data/disconnected.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB