summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2014-02-25 09:06:55 -0500
committerAdam Jackson <ajax@redhat.com>2014-02-25 13:37:20 -0500
commitb8840f5442f9fbd8ce47ab2dd555b75cf4bb114a (patch)
tree270ec2cd1e9d2d67900244c93eaedc18c928072f
parentc36a5e298c36deb5f6fd0eef3029235aa58de295 (diff)
modesetting: Don't (brokenly) double-track software cursor
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--src/driver.c2
-rw-r--r--src/driver.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/driver.c b/src/driver.c
index 4a74ece..0f9190a 100644
--- a/src/driver.c
+++ b/src/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/src/driver.h b/src/driver.h
index e84d748..450b29c 100644
--- a/src/driver.h
+++ b/src/driver.h
@@ -59,7 +59,6 @@ typedef struct _modesettingRec
#endif
Bool noAccel;
- Bool SWCursor;
CloseScreenProcPtr CloseScreen;
/* Broken-out options. */