The RGB ordering in uncompressed bitmaps in inverse


According to the specs the first 8 bits (0-7) contain red, and the current shift pattern switches red and blue. See ms-rdpbcgr p192 on bit ordering. To test, set the compress bitmap flag in xrdp.ini to no, login and see on the intro screen the R and B colors switched in the xrdp logo in the right lower corner (normally red X, blue D). After the patch this is correct. Also logging in and using X11rdp you see the correct colors now on the bitmaps.