xf86-video-modesetting: src/driver.c src/driver.h

Adam Jackson ajax at kemper.freedesktop.org
Tue Feb 25 10:38:00 PST 2014


 src/driver.c |    2 +-
 src/driver.h |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

New commits:
commit b8840f5442f9fbd8ce47ab2dd555b75cf4bb114a
Author: Adam Jackson <ajax at redhat.com>
Date:   Tue Feb 25 09:06:55 2014 -0500

    modesetting: Don't (brokenly) double-track software cursor
    
    Signed-off-by: Adam Jackson <ajax at redhat.com>

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. */


More information about the xorg-commit mailing list