FreeRDP/FreeRDP — pull request #300 by sunds (2011-12-21 23:04:23+00:00)
Title: Patch for #297 - inverted colormap

Here is a quick patch for #297. I look at the selected server visual and if it is in BGR order I set the invert flag in the CLRCONV structure. In the color mapping functions if invert is set, I invert the conversion.

You may wish to re-factor this differently but I have verified on two different X servers, one with the more typical RGB order and one with BGR order and this patch works correctly. I tried FreeRDP both in desktop and seamless mode with internet explorer.