summaryrefslogtreecommitdiff
path: root/src/lx_display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lx_display.c')
-rw-r--r--src/lx_display.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lx_display.c b/src/lx_display.c
index 2aeb3b4..8ee6443 100644
--- a/src/lx_display.c
+++ b/src/lx_display.c
@@ -324,7 +324,6 @@ lx_crtc_commit(xf86CrtcPtr crtc)
/* Load the cursor */
if (crtc->scrn->pScreen != NULL) {
- xf86_reload_cursors(crtc->scrn->pScreen);
crtc->funcs->hide_cursor(crtc);
crtc->cursor_shown = FALSE;
}
@@ -389,11 +388,7 @@ lx_create_bo_pixmap(ScreenPtr pScreen,
{
PixmapPtr pixmap;
-#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,5,0,0,0)
pixmap = (*pScreen->CreatePixmap) (pScreen, 0, 0, depth, 0);
-#else
- pixmap = (*pScreen->CreatePixmap) (pScreen, 0, 0, depth);
-#endif
if (!pixmap)
return NULL;
@@ -576,7 +571,7 @@ LXSetupCrtc(ScrnInfoPtr pScrni)
return;
}
- lxpriv = xnfcalloc(1, sizeof(LXCrtcPrivateRec));
+ lxpriv = XNFcallocarray(1, sizeof(LXCrtcPrivateRec));
if (!lxpriv) {
xf86CrtcDestroy(crtc);