summaryrefslogtreecommitdiff
path: root/src/i830_cursor.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2009-09-15 19:45:47 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-09-15 19:46:43 -0700
commitb8c5c996e888485c3a16d645c8490592534a7882 (patch)
treeda81c988f245823529f6aec1895c2902a27b66f5 /src/i830_cursor.c
parentc2abfa8e54acab61250dba1e435760e3b1499c8c (diff)
Eliminate cursor flicker
We can update the cursor without hiding and showing it. In fact, doing the hide/show causes noticable flicker when running in KMS mode. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'src/i830_cursor.c')
-rw-r--r--src/i830_cursor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830_cursor.c b/src/i830_cursor.c
index a6aba413..83af35fc 100644
--- a/src/i830_cursor.c
+++ b/src/i830_cursor.c
@@ -119,6 +119,7 @@ I830CursorInit(ScreenPtr pScreen)
HARDWARE_CURSOR_SWAP_SOURCE_AND_MASK |
HARDWARE_CURSOR_AND_SOURCE_WITH_MASK |
HARDWARE_CURSOR_SOURCE_MASK_INTERLEAVE_64 |
+ HARDWARE_CURSOR_UPDATE_UNHIDDEN |
HARDWARE_CURSOR_ARGB));
}