This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch devs/devilhorns/apos
in repository efl.

View the commit online.

commit 2382b4ab73d937488b7a9a6dd39ca8e3f51bc1e8
Author: Christopher Michael <devilho...@comcast.net>
AuthorDate: Wed Nov 22 07:12:58 2023 -0500

    ecore_drm2: Add API function to set pointer max values
---
 src/lib/ecore_drm2/Ecore_Drm2.h        | 1 +
 src/lib/ecore_drm2/ecore_drm2_device.c | 8 ++++++++
 2 files changed, 9 insertions(+)

diff --git a/src/lib/ecore_drm2/Ecore_Drm2.h b/src/lib/ecore_drm2/Ecore_Drm2.h
index 9beb29f5d7..d0e2a372a9 100644
--- a/src/lib/ecore_drm2/Ecore_Drm2.h
+++ b/src/lib/ecore_drm2/Ecore_Drm2.h
@@ -69,6 +69,7 @@ EAPI void ecore_drm2_device_cursor_size_get(Ecore_Drm2_Device *dev, int *width,
 EAPI void ecore_drm2_device_preferred_depth_get(Ecore_Drm2_Device *dev, int *depth, int *bpp);
 EAPI void ecore_drm2_device_screen_size_range_get(Ecore_Drm2_Device *dev, int *minw, int *minh, int *maxw, int *maxh);
 EAPI const Eina_List *ecore_drm2_device_crtcs_get(Ecore_Drm2_Device *dev);
+EAPI void ecore_drm2_device_pointer_max_set(Ecore_Drm2_Device *dev, int w, int h);
 
 /* Display API functions */
 EAPI char *ecore_drm2_display_name_get(Ecore_Drm2_Display *disp);
diff --git a/src/lib/ecore_drm2/ecore_drm2_device.c b/src/lib/ecore_drm2/ecore_drm2_device.c
index 7ad85913b8..910ab6737c 100644
--- a/src/lib/ecore_drm2/ecore_drm2_device.c
+++ b/src/lib/ecore_drm2/ecore_drm2_device.c
@@ -377,3 +377,11 @@ ecore_drm2_device_crtcs_get(Ecore_Drm2_Device *dev)
    EINA_SAFETY_ON_NULL_RETURN_VAL(dev, NULL);
    return dev->crtcs;
 }
+
+EAPI void
+ecore_drm2_device_pointer_max_set(Ecore_Drm2_Device *dev, int w, int h)
+{
+   EINA_SAFETY_ON_NULL_RETURN(dev);
+   EINA_SAFETY_ON_NULL_RETURN(dev->em);
+   elput_input_pointer_max_set(dev->em, w, h);
+}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to