The window state may be changed by the window manager without scrcpy being aware of it (for example the fullscreen mode on macOS). Check on every "size changed" event whether the fullscreen mode has changed.
The window state may be changed by the window manager without scrcpy being aware of it (for example the fullscreen mode on macOS). Check on every "size changed" event whether the fullscreen mode has changed.