summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/drm/vmware/xorg
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/drm/vmware/xorg')
-rw-r--r--src/gallium/winsys/drm/vmware/xorg/vmw_ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/winsys/drm/vmware/xorg/vmw_ioctl.c b/src/gallium/winsys/drm/vmware/xorg/vmw_ioctl.c
index 7ec651db05..ad6993840d 100644
--- a/src/gallium/winsys/drm/vmware/xorg/vmw_ioctl.c
+++ b/src/gallium/winsys/drm/vmware/xorg/vmw_ioctl.c
@@ -65,8 +65,8 @@ vmw_ioctl_cursor_bypass(struct vmw_driver *vmw, int xhot, int yhot)
arg.xhot = xhot;
arg.yhot = yhot;
- ret = drmCommandWriteRead(vmw->fd, DRM_VMW_CURSOR_BYPASS,
- &arg, sizeof(arg));
+ ret = drmCommandWrite(vmw->fd, DRM_VMW_CURSOR_BYPASS,
+ &arg, sizeof(arg));
return ret;
}