summaryrefslogtreecommitdiff
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2009-12-04 10:31:51 +0100
committerJakob Bornecrantz <jakob@vmware.com>2009-12-04 10:33:34 +0100
commit1ef8c493b25cdb4bb006f9198c00acacd19e2c75 (patch)
treee746d42e18b9a634cd7e804492a21aef2d3cfd2e /src/gallium/winsys
parentcd4d806a47d2cbb706a9f1cd49d990fcb803efb6 (diff)
vmware/xorg: Use Write instead of WriteRead for cursor bypass
Diffstat (limited to 'src/gallium/winsys')
-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;
}