summaryrefslogtreecommitdiff
path: root/xf86drmMode.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2013-07-02 09:21:06 +0100
committerDave Airlie <airlied@redhat.com>2013-07-02 09:21:39 +0100
commit2e0ab6237697c9754d92689f77c1792c11be881b (patch)
tree9d3562d6a16d5e9d46403a63083493cdf443a8f7 /xf86drmMode.h
parent378bb47a784a3808c9b256fe7a52e10a4fcabf92 (diff)
drm: add hotspot cursor interface support.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'xf86drmMode.h')
-rw-r--r--xf86drmMode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xf86drmMode.h b/xf86drmMode.h
index 8e400340..f8a817cd 100644
--- a/xf86drmMode.h
+++ b/xf86drmMode.h
@@ -378,6 +378,7 @@ int drmModeSetCrtc(int fd, uint32_t crtcId, uint32_t bufferId,
*/
int drmModeSetCursor(int fd, uint32_t crtcId, uint32_t bo_handle, uint32_t width, uint32_t height);
+int drmModeSetCursor2(int fd, uint32_t crtcId, uint32_t bo_handle, uint32_t width, uint32_t height, int32_t hot_x, int32_t hot_y);
/**
* Move the cursor on crtc
*/