Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 216637
Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +3 lines)
Line  Link Here
0
-- a/hw/xfree86/modes/xf86Cursors.c
0
++ b/hw/xfree86/modes/xf86Cursors.c
Lines 137-143 cursor_bitpos (int flags, int x, Bool mask) Link Here
137
	mask = !mask;
137
	mask = !mask;
138
    if (flags & HARDWARE_CURSOR_NIBBLE_SWAPPED)
138
    if (flags & HARDWARE_CURSOR_NIBBLE_SWAPPED)
139
	x = (x & ~3) | (3 - (x & 3));
139
	x = (x & ~3) | (3 - (x & 3));
140
    if (flags & HARDWARE_CURSOR_BIT_ORDER_MSBFIRST)
140
    if (((flags & HARDWARE_CURSOR_BIT_ORDER_MSBFIRST) == 0) ==
141
	(X_BYTE_ORDER == X_BIG_ENDIAN))
141
	x = (x & ~7) | (7 - (x & 7));
142
	x = (x & ~7) | (7 - (x & 7));
142
    if (flags & HARDWARE_CURSOR_SOURCE_MASK_INTERLEAVE_1)
143
    if (flags & HARDWARE_CURSOR_SOURCE_MASK_INTERLEAVE_1)
143
	x = (x << 1) + mask;
144
	x = (x << 1) + mask;

Return to bug 216637