From 2029c028fcffbe1aa175ab75636ae954a211c82a Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 25 Feb 2014 09:06:55 -0500 Subject: [PATCH] modesetting: Don't (brokenly) double-track software cursor Signed-off-by: Adam Jackson --- hw/xfree86/drivers/modesetting/driver.c | 2 +- hw/xfree86/drivers/modesetting/driver.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/hw/xfree86/drivers/modesetting/driver.c b/hw/xfree86/drivers/modesetting/driver.c index 4a74ecef6..0f9190a43 100644 --- a/hw/xfree86/drivers/modesetting/driver.c +++ b/hw/xfree86/drivers/modesetting/driver.c @@ -801,7 +801,7 @@ CreateScreenResources(ScreenPtr pScreen) drmmode_uevent_init(pScrn, &ms->drmmode); - if (!ms->SWCursor) + if (!ms->drmmode.sw_cursor) drmmode_map_cursor_bos(pScrn, &ms->drmmode); pixels = drmmode_map_front_bo(&ms->drmmode); if (!pixels) diff --git a/hw/xfree86/drivers/modesetting/driver.h b/hw/xfree86/drivers/modesetting/driver.h index e84d748d6..450b29c2b 100644 --- a/hw/xfree86/drivers/modesetting/driver.h +++ b/hw/xfree86/drivers/modesetting/driver.h @@ -59,7 +59,6 @@ typedef struct _modesettingRec #endif Bool noAccel; - Bool SWCursor; CloseScreenProcPtr CloseScreen; /* Broken-out options. */