summaryrefslogtreecommitdiff
path: root/hwc2/hwc2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hwc2/hwc2.cpp')
-rw-r--r--hwc2/hwc2.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/hwc2/hwc2.cpp b/hwc2/hwc2.cpp
index ff1969e..387cd7c 100644
--- a/hwc2/hwc2.cpp
+++ b/hwc2/hwc2.cpp
@@ -244,11 +244,11 @@ hwc2_error_t validate_display(hwc2_device_t* /*device*/,
return HWC2_ERROR_NONE;
}
-hwc2_error_t set_cursor_position(hwc2_device_t* /*device*/,
- hwc2_display_t /*display*/, hwc2_layer_t /*layer*/, int32_t /*x*/,
- int32_t /*y*/)
+hwc2_error_t set_cursor_position(hwc2_device_t *device, hwc2_display_t display,
+ hwc2_layer_t layer, int32_t x, int32_t y)
{
- return HWC2_ERROR_NONE;
+ hwc2_dev *dev = reinterpret_cast<hwc2_context *>(device)->hwc2_dev;
+ return dev->set_cursor_position(display, layer, x, y);
}
hwc2_error_t set_layer_buffer(hwc2_device_t* /*device*/,