From 8232177a005127a0001af4b14c3beb766958ef11 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 30 Apr 2009 15:30:05 -0700 Subject: Allow cursors to roam past 2048x2048 limit. There's no reason to clip cursor positions to an artificial limit; the hardware cursor limits always mirror the hardware display limits. Signed-off-by: Keith Packard --- src/i830_cursor.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/i830_cursor.c') diff --git a/src/i830_cursor.c b/src/i830_cursor.c index 33b1bd9a..a6aba413 100644 --- a/src/i830_cursor.c +++ b/src/i830_cursor.c @@ -147,15 +147,15 @@ i830_crtc_set_cursor_position (xf86CrtcPtr crtc, int x, int y) temp = 0; if (x < 0) { - temp |= (CURSOR_POS_SIGN << CURSOR_X_SHIFT); + temp |= CURSOR_POS_SIGN << CURSOR_X_SHIFT; x = -x; } if (y < 0) { - temp |= (CURSOR_POS_SIGN << CURSOR_Y_SHIFT); + temp |= CURSOR_POS_SIGN << CURSOR_Y_SHIFT; y = -y; } - temp |= ((x & CURSOR_POS_MASK) << CURSOR_X_SHIFT); - temp |= ((y & CURSOR_POS_MASK) << CURSOR_Y_SHIFT); + temp |= x << CURSOR_X_SHIFT; + temp |= y << CURSOR_Y_SHIFT; switch (intel_crtc->pipe) { case 0: -- cgit v1.2.3