scrcpy/app
Romain Vimont 6b1da2fcff Simplify size changes in fullscreen or maximized
If the content size changes (due to rotation for example) while the
window is maximized or fullscreen, the resize must be applied once
fullscreen and maximized are disabled.

The previous strategy consisted in storing the windowed size, computing
the target size on rotation, and applying it on window restoration. But
tracking the windowed size (while ignoring the non-windowed size) was
tricky, due to unspecified order of SDL events (e.g. size changes can be
notified before "maximized" events), race conditions when reading window
flags, different behaviors on different platforms...

To simplify the whole resize management, store the old content size (the
frame size, possibly rotated) when it changes while the window is
maximized or fullscreen, so that the new optimal size can be computed on
window restoration.
2020-05-23 14:19:09 +02:00
..
src Simplify size changes in fullscreen or maximized 2020-05-23 14:19:09 +02:00
tests Rename max length constant for text injection 2020-04-13 19:38:43 +02:00
meson.build Enable trilinear filtering for OpenGL 2020-04-15 17:39:51 +02:00
scrcpy.1 Add an option to keep the device awake 2020-05-02 02:14:25 +02:00