scrcpy/app/src
Romain Vimont 0b1e59186f 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.
2018-03-13 22:48:04 +01:00
..
android Implement keyboard/mouse control 2018-01-18 17:25:13 +01:00
sys Log socket errors 2018-02-16 15:03:50 +01:00
command.c Make it work over tcpip 2018-03-12 14:10:32 +01:00
command.h Make it work over tcpip 2018-03-12 14:10:32 +01:00
common.h Swap position/point names 2018-01-29 14:52:22 +01:00
controlevent.c Fix text input event segfault 2018-03-09 22:30:10 +01:00
controlevent.h Map right-click to BACK if screen is on 2018-03-10 00:16:29 +01:00
controller.c Implement clipboard paste 2018-03-07 18:07:02 +01:00
controller.h Replace SDL_net by custom implementation 2018-02-16 00:56:58 +01:00
convert.c Swap position/point names 2018-01-29 14:52:22 +01:00
convert.h Swap position/point names 2018-01-29 14:52:22 +01:00
decoder.c Unref the packet on error 2018-03-08 21:36:04 +01:00
decoder.h Replace SDL_net by custom implementation 2018-02-16 00:56:58 +01:00
device.c Send and recv all data when necessary 2018-02-16 00:57:48 +01:00
device.h Replace SDL_net by custom implementation 2018-02-16 00:56:58 +01:00
events.h Initial commit 2017-12-12 15:25:15 +01:00
fpscounter.c Add FPS counter 2018-02-15 11:22:48 +01:00
fpscounter.h Add FPS counter 2018-02-15 11:22:48 +01:00
frames.c Add FPS counter 2018-02-15 11:22:48 +01:00
frames.h Add FPS counter 2018-02-15 11:22:48 +01:00
icon.xpm Add window icon 2018-02-05 14:46:00 +01:00
inputmanager.c Remove black borders on double-click 2018-03-13 08:37:46 +01:00
inputmanager.h Add Ctrl+i shortcut to enable/disable FPS counter 2018-02-15 12:24:16 +01:00
lockutil.c Define macros wrappers for logs 2018-02-13 10:10:18 +01:00
lockutil.h Do not inline lockutil functions 2017-12-18 11:07:42 +01:00
log.h Define macros wrappers for logs 2018-02-13 10:10:18 +01:00
main.c Remove black borders on double-click 2018-03-13 08:37:46 +01:00
net.c Make it work over tcpip 2018-03-12 14:10:32 +01:00
net.h Make it work over tcpip 2018-03-12 14:10:32 +01:00
scrcpy.c Workaround continuous resizing on Windows/MacOS 2018-03-13 22:48:04 +01:00
scrcpy.h Move screen-related code to screen.c 2018-02-08 15:43:28 +01:00
screen.c Always use the best render scale quality available 2018-03-12 14:10:12 +01:00
screen.h Improve startup time 2018-02-09 16:19:50 +01:00
server.c Make it work over tcpip 2018-03-12 14:10:32 +01:00
server.h Make it work over tcpip 2018-03-12 14:10:32 +01:00
strutil.c Initial commit 2017-12-12 15:25:15 +01:00
strutil.h Add missing include guards 2018-02-08 15:26:08 +01:00
tinyxpm.c Define macros wrappers for logs 2018-02-13 10:10:18 +01:00
tinyxpm.h Add missing include guards 2018-02-08 15:26:08 +01:00