vmware/xorg: Use Write instead of WriteRead for cursor bypass

This commit is contained in:
Jakob Bornecrantz 2009-12-04 10:31:51 +01:00
parent cd4d806a47
commit 1ef8c493b2

View 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;
}