Revert "Fix RandR 1.2 driver interface conversion of two colour cursors to ARGB"
This reverts commit 2673525796
.
Pushed the wrong patch.
This commit is contained in:
parent
2673525796
commit
f8c1eb29e2
@ -137,9 +137,7 @@ cursor_bitpos (int flags, int x, Bool mask)
|
|||||||
mask = !mask;
|
mask = !mask;
|
||||||
if (flags & HARDWARE_CURSOR_NIBBLE_SWAPPED)
|
if (flags & HARDWARE_CURSOR_NIBBLE_SWAPPED)
|
||||||
x = (x & ~3) | (3 - (x & 3));
|
x = (x & ~3) | (3 - (x & 3));
|
||||||
#if X_BYTE_ORDER == X_LITTLE_ENDIAN
|
|
||||||
if (flags & HARDWARE_CURSOR_BIT_ORDER_MSBFIRST)
|
if (flags & HARDWARE_CURSOR_BIT_ORDER_MSBFIRST)
|
||||||
#endif
|
|
||||||
x = (x & ~7) | (7 - (x & 7));
|
x = (x & ~7) | (7 - (x & 7));
|
||||||
if (flags & HARDWARE_CURSOR_SOURCE_MASK_INTERLEAVE_1)
|
if (flags & HARDWARE_CURSOR_SOURCE_MASK_INTERLEAVE_1)
|
||||||
x = (x << 1) + mask;
|
x = (x << 1) + mask;
|
||||||
|
Loading…
Reference in New Issue
Block a user