devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=ff13e2d88d6bfc8554052b89807ca92d3a16c3c6
commit ff13e2d88d6bfc8554052b89807ca92d3a16c3c6 Author: Chris Michael <[email protected]> Date: Wed Dec 10 10:15:10 2014 -0500 ecore-drm: Add output size to device structure and add internal function for setting size Summary: This is needed so that events for mouse, touch, etc can get transformed into output coordinates @fix Signed-off-by: Chris Michael <[email protected]> --- src/lib/ecore_drm/ecore_drm_private.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/lib/ecore_drm/ecore_drm_private.h b/src/lib/ecore_drm/ecore_drm_private.h index 2606345..acd61f5 100644 --- a/src/lib/ecore_drm/ecore_drm_private.h +++ b/src/lib/ecore_drm/ecore_drm_private.h @@ -159,6 +159,11 @@ struct _Ecore_Drm_Evdev int mt_slot; + struct + { + int w, h; + } output; + /* struct */ /* { */ /* int min_x, min_y; */ @@ -228,6 +233,8 @@ Eina_Bool _ecore_drm_launcher_device_open(const char *device, Ecore_Drm_Open_Cb int _ecore_drm_launcher_device_open_no_pending(const char *device, int flags); void _ecore_drm_launcher_device_close(const char *device, int fd); +void _ecore_drm_inputs_update_output(Ecore_Drm_Device *dev, int w, int h); + Ecore_Drm_Evdev *_ecore_drm_evdev_device_create(Ecore_Drm_Seat *seat, struct libinput_device *device); void _ecore_drm_evdev_device_destroy(Ecore_Drm_Evdev *evdev); Eina_Bool _ecore_drm_evdev_event_process(struct libinput_event *event); --
