vmware/xorg: Use Write instead of WriteRead for cursor bypass
authorJakob Bornecrantz <jakob@vmware.com>
Fri, 4 Dec 2009 09:31:51 +0000 (10:31 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Fri, 4 Dec 2009 09:33:34 +0000 (10:33 +0100)
src/gallium/winsys/drm/vmware/xorg/vmw_ioctl.c

index 7ec651db05dece1abf16d9b2630d86d65fc9a0f3..ad6993840d21cd22f719298b8cf21fe9beab96c9 100644 (file)
@@ -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;
 }