diff options
author | Adam Jackson <ajax@redhat.com> | 2014-02-25 09:06:55 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2014-02-25 13:37:20 -0500 |
commit | b8840f5442f9fbd8ce47ab2dd555b75cf4bb114a (patch) | |
tree | 270ec2cd1e9d2d67900244c93eaedc18c928072f | |
parent | c36a5e298c36deb5f6fd0eef3029235aa58de295 (diff) |
modesetting: Don't (brokenly) double-track software cursor
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r-- | src/driver.c | 2 | ||||
-rw-r--r-- | src/driver.h | 1 |
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. */ |