Some servers respect the ordering of pseudo-encodings as well, so
make sure we list the best one first.
rdr::U32 encodings[encodingMax+3];
if (cp->supportsLocalCursor) {
- encodings[nEncodings++] = pseudoEncodingXCursor;
- encodings[nEncodings++] = pseudoEncodingCursor;
encodings[nEncodings++] = pseudoEncodingCursorWithAlpha;
+ encodings[nEncodings++] = pseudoEncodingCursor;
+ encodings[nEncodings++] = pseudoEncodingXCursor;
}
if (cp->supportsDesktopResize)
encodings[nEncodings++] = pseudoEncodingDesktopSize;
int[] encodings = new int[Encodings.encodingMax+3];
if (cp.supportsLocalCursor) {
- encodings[nEncodings++] = Encodings.pseudoEncodingXCursor;
- encodings[nEncodings++] = Encodings.pseudoEncodingCursor;
if (cp.supportsLocalCursorWithAlpha)
encodings[nEncodings++] = Encodings.pseudoEncodingCursorWithAlpha;
+ encodings[nEncodings++] = Encodings.pseudoEncodingCursor;
+ encodings[nEncodings++] = Encodings.pseudoEncodingXCursor;
}
if (cp.supportsDesktopResize)
encodings[nEncodings++] = Encodings.pseudoEncodingDesktopSize;