Reverted WaitForSingleObject for event handles to retry the select upon receiving an EINTR error
shadow: add ability to select monitor to share
shadow: add ability to share rectangle within monitor
shadow: add X11 cursor monitoring
shadow: add initial cursor blending
rdpsnd server: add support for clients version < 6

MS-RDPEA 2.2.2.3 states (Appendix A <6>) that quality mode PDU
should be ignored if the client version is < 6. For these clients the sound
channel got never activated since activated was only called after
reception of the quality mode PDU.

For clients < version 6 activated is now called after
CLIENT_AUDIO_VERSION_AND_FORMATS was received.
rdpsnd server: seal stream before processing

If the stream is not sealed Stream_GetRemainingLength might return bogus
values.
rdpsnd_server_handle_messages: change return type

With BOOL as return type it is not possible to differentiate between
success and "no data can be read" (when a channel read would block).

rdpsnd_server_handle_messages returns now int with the following
possible values:

-1 if no data could be read
0 error (like connection close) (formerly FALSE)
1 succsess (also if further bytes need to be read) (formerly TRUE)

Not using -1 for error cases was chosen to be compatible with the BOOL
return values used before.
Fix #2090
* client/Windows/wf_graphics.c (wf_register_graphics): Do not register
custom bitmap handler when using freerdp's own GDI implementation.
Fix missing output when using freerdp's rendering
engine
* client/Windows/wf_interface.c (wf_post_connect): Properly initialize
freerdp's GDI subsystem when using freerdp's rendering engine.
Do not invert fb data when rendering with freerdp's engine.
* client/Windows/wf_interface.c (wf_post_connect): Do not pass
`CLRCONV_INVERT' to gdi_init().
xfreerdp: fix segfault

codec contexts are now generated and freed within core/codecs.c
fix build warning

warning: implicit declaration of function ‘winpr_bitmap_write’
[-Wimplicit-function-declaration]
Merge pull request #2092 from bmiklautz/issue/2085

xfreerdp: fix segfault
Merge pull request #2091 from ptsekov/software-gdi-improvements

Fix #2090
Merge pull request #2088 from bmiklautz/fix/rdpsndv5

rdpsnd server side: misc fixes
libfreerdp: always build "MONOLITHIC"

"libfreerdp" consisted of multiple (small) single libraries. If the cmake
option MONOLITHIC was used only one library was build combining all of
the libfreerdp-* libraries.
The only exceptions to this are libfreerdp-server and libfreerdp-client these
are build as separate libraries.

This commit obsoltes non-monolithic builds and makes monolithic builds
the default. The cmake option MONOLITHIC is also removed.
Fix: misc compiler warnings

Seen in Xcode
Merge pull request #2095 from bmiklautz/feat/byemonolithic

Remove non-monolithic builds of libfreerdp
libfreerdp-gdi: start optimizing gdi bitmap update