summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-05-28 16:21:09 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-05-28 16:21:09 +0100
commit55e6f5f220401318529e81f7c96fe0af3b893a0c (patch)
treee65d8643d4bd21354f1b97e750614a9e72e52327 /src
parent77dd429222922aa1ba7f283553e11e60e4d5c496 (diff)
sna: Use the local function for turning the cursor off prior to release
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/sna/sna_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 5d84578f..3ec2d23c 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -915,7 +915,7 @@ sna_crtc_destroy(xf86CrtcPtr crtc)
struct sna *sna = to_sna(crtc->scrn);
struct sna_crtc *sna_crtc = crtc->driver_private;
- drmModeSetCursor(sna->kgem.fd, crtc_id(sna_crtc), 0, 64, 64);
+ sna_crtc_hide_cursor(crtc);
gem_close(sna->kgem.fd, sna_crtc->cursor);
list_del(&sna_crtc->link);