FreeRDP / FreeRDP-old

DEPRECATED VERSION - Check https://github.com/FreeRDP/FreeRDP : FreeRDP is a free remote desktop protocol client
http://www.freerdp.com
Apache License 2.0
80 stars 882 forks source link

libfreerdp-core: When server orders a screen bpp change, call ui_resize_window #53

Closed dorianj closed 13 years ago

dorianj commented 13 years ago

xfreerdp-core: When server orders a screen bpp change, call ui_resize_window

Some servers are configured to limit connections to 16bpp, and send a rdp_process_bitmap_capset to enforce it. UI ports need a chance to reallocate buffers based on this info. This patch makes xfreerdp in sw rendering mode re-allocate the GDI object, so that these sessions work properly.

Note: I'm submitting small patches right now while I'm getting used to the FreeRDP policies; please LMK if I'm doing anything strange. I'll start to group my commits when I get a little more confident.