mirror of https://github.com/Genymobile/scrcpy
Workaround continuous resizing on Windows/MacOS
On Windows and MacOS, resizing blocks the event loop, so resizing events are not triggered: - <https://bugzilla.libsdl.org/show_bug.cgi?id=2077> - <https://stackoverflow.com/a/40693139/1987178> As a workaround, register an event watcher to render the screen from another thread. Since the whole event loop is blocked during resizing, the screen content is not refreshed (on Windows and MacOS) until resizing ends.pull/85/head
parent
b858204786
commit
0b1e59186f
Loading…
Reference in New Issue