server/shadow: Enhancement regarding the screen and resolution - add resize support...
authorzihao.jiang <zihao.jiang@yahoo.com>
Sat, 11 Apr 2015 18:57:16 +0000 (02:57 +0800)
committerzihao.jiang <zihao.jiang@yahoo.com>
Wed, 1 Jul 2015 15:57:20 +0000 (23:57 +0800)
commit491978b0e3a1d4fed9c0983f784585a1db87a310
tree49360132c32dc835e03a9c2edc4eeef63d9d2c32
parent20878e50fe4c3e843209142af670dcf5a4fd5125
server/shadow: Enhancement regarding the screen and resolution - add resize support and fix subRect feature
Detail fixes:
1. Add resize support in shadow framework layer
2. Enhance X11 implementation to detect desktop resolution change
3. Fix the subRect feature.
It seems not completely finished and it looks incompatible in different source code.
Fix it to be consistent in all source code as following:
a. The subRect is only awared in framework layer, subsystem implementation should not be aware of it. It only take effect at shadow_client and corresponding shadow_input.
b. The screen and surface should only represent a monitor screen. They don't need to consider subRect feature.
4. A lobby should be alternative image shown to client when the client is not 'mayView'.
We don't need to have seperate lobby for each client, move it into server structure as 'another surface'
5. Fix display handle leak in enum monitor of X11
6. Suppress BadMatch Error while capturing the image
include/freerdp/server/shadow.h
server/shadow/X11/x11_shadow.c
server/shadow/shadow_client.c
server/shadow/shadow_encoder.c
server/shadow/shadow_input.c
server/shadow/shadow_lobby.c
server/shadow/shadow_lobby.h
server/shadow/shadow_screen.c
server/shadow/shadow_screen.h
server/shadow/shadow_surface.c
server/shadow/shadow_surface.h