Signed-off-by: Tiago Vignatti <vigna...@c3sl.ufpr.br> --- src/i830_dri.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/i830_dri.c b/src/i830_dri.c index 07ae646..e9484bd 100644 --- a/src/i830_dri.c +++ b/src/i830_dri.c @@ -108,6 +108,8 @@ typedef struct drm_i915_flip { #include "dristruct.h" +#include "dricursor.h" + static Bool I830InitVisualConfigs(ScreenPtr pScreen); static Bool I830CreateContext(ScreenPtr pScreen, VisualPtr visual, drm_context_t hwContext, void *pVisualConfigPriv, @@ -674,6 +676,8 @@ I830DRIScreenInit(ScreenPtr pScreen) return FALSE; } + DRICursorSaveFD(pI830->drmSubFD); + /* Now, nuke dri.c's dummy frontbuffer map setup if we did that. */ if (pDRIInfo->frameBufferSize != 0) { int tmp; -- 1.5.6.3 -- Tiago Vignatti C3SL - Centro de Computação Científica e Software Livre www.c3sl.ufpr.br ------------------------------------------------------------------------------ -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel