summaryrefslogtreecommitdiff
path: root/vmwgfx_stdu.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2015-11-24 19:47:01 +0100
committerThomas Hellstrom <thellstrom@vmware.com>2015-11-26 18:11:03 +0100
commit94cf8c8f33a5eda995397e1862a5a8c0d0a7aa0d (patch)
tree541a704b455dbdb79c0157fcc723a3390f29fbf1 /vmwgfx_stdu.c
parent9771fff04fd040de3cbec1f50b02a08231b3edd4 (diff)
vmwgfx: Implement the cursor_set2 callback
Now native drm clients like Fedora 23 Wayland appears to be able to use cursor hotspots without strange cursor offsets. Also fixes a couple of ignored error paths. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Diffstat (limited to 'vmwgfx_stdu.c')
-rw-r--r--vmwgfx_stdu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vmwgfx_stdu.c b/vmwgfx_stdu.c
index d1289a5..4209039 100644
--- a/vmwgfx_stdu.c
+++ b/vmwgfx_stdu.c
@@ -1040,6 +1040,7 @@ static struct drm_crtc_funcs vmw_stdu_crtc_funcs = {
.save = vmw_du_crtc_save,
.restore = vmw_du_crtc_restore,
.cursor_set = vmw_du_crtc_cursor_set,
+ .cursor_set2 = vmw_du_crtc_cursor_set2,
.cursor_move = vmw_du_crtc_cursor_move,
.gamma_set = vmw_du_crtc_gamma_set,
.destroy = vmw_stdu_crtc_destroy,